Use Item for transparent rectangles
This commit is contained in:
parent
d68b24188f
commit
537cc966cc
@ -1,8 +1,7 @@
|
|||||||
import QtQuick 2.6
|
import QtQuick 2.6
|
||||||
import QtQuick.Layouts 1.2
|
import QtQuick.Layouts 1.2
|
||||||
|
|
||||||
Rectangle {
|
Item {
|
||||||
color: "transparent"
|
|
||||||
height: row.height + 24
|
height: row.height + 24
|
||||||
width: parent ? parent.width : undefined
|
width: parent ? parent.width : undefined
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ import QtQuick.Controls 2.3
|
|||||||
import QtQuick.Layouts 1.2
|
import QtQuick.Layouts 1.2
|
||||||
import QtQuick.Window 2.2
|
import QtQuick.Window 2.2
|
||||||
|
|
||||||
Rectangle {
|
Item {
|
||||||
id: replyComponent
|
id: replyComponent
|
||||||
|
|
||||||
property alias modelData: reply.modelData
|
property alias modelData: reply.modelData
|
||||||
@ -54,8 +54,6 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
color: "transparent"
|
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: backgroundItem
|
id: backgroundItem
|
||||||
z: -1
|
z: -1
|
||||||
|
Loading…
Reference in New Issue
Block a user