RibbonView: Add more property and delete anchor to fix bugs in some situation.
This commit is contained in:
parent
9df9fbedb0
commit
e77fd6c161
|
@ -12,12 +12,11 @@ Item {
|
||||||
property int spacing: 5
|
property int spacing: 5
|
||||||
property int top_padding: 0
|
property int top_padding: 0
|
||||||
property int bottom_padding: 0
|
property int bottom_padding: 0
|
||||||
|
property alias bg_color: bg.color
|
||||||
|
property alias bg_visible: bg.visible
|
||||||
z:-2
|
z:-2
|
||||||
clip: true
|
clip: true
|
||||||
anchors{
|
width: parent.width
|
||||||
left: parent.left
|
|
||||||
right:parent.right
|
|
||||||
}
|
|
||||||
|
|
||||||
Rectangle{
|
Rectangle{
|
||||||
id:bg
|
id:bg
|
||||||
|
|
Loading…
Reference in New Issue