mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-29 14:18:49 +03:00
Use Item for transparent rectangles
This commit is contained in:
parent
d68b24188f
commit
537cc966cc
2 changed files with 2 additions and 5 deletions
|
@ -1,8 +1,7 @@
|
|||
import QtQuick 2.6
|
||||
import QtQuick.Layouts 1.2
|
||||
|
||||
Rectangle {
|
||||
color: "transparent"
|
||||
Item {
|
||||
height: row.height + 24
|
||||
width: parent ? parent.width : undefined
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ import QtQuick.Controls 2.3
|
|||
import QtQuick.Layouts 1.2
|
||||
import QtQuick.Window 2.2
|
||||
|
||||
Rectangle {
|
||||
Item {
|
||||
id: replyComponent
|
||||
|
||||
property alias modelData: reply.modelData
|
||||
|
@ -54,8 +54,6 @@ Rectangle {
|
|||
}
|
||||
}
|
||||
|
||||
color: "transparent"
|
||||
|
||||
Rectangle {
|
||||
id: backgroundItem
|
||||
z: -1
|
||||
|
|
Loading…
Reference in a new issue