RibbonView: Add more property and delete anchor to fix bugs in some situation.

This commit is contained in:
Mentalflow 2024-04-01 23:34:48 +08:00
parent 9df9fbedb0
commit e77fd6c161
Signed by: Mentalflow
GPG Key ID: 5AE68D4401A2EE71
1 changed files with 3 additions and 4 deletions

View File

@ -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