Commit 33b92473 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

PropertyButton: Fix binding loop

parent b0ef2e6a
......@@ -5,6 +5,7 @@ Rectangle {
height: 20
color: mouseArea.containsMouse ? "#44FFFFFF" : selected ? "#AA000000" : "transparent"
radius: 2
id: propertyButton
property alias text: _text.text
property bool selected: false
......@@ -14,7 +15,7 @@ Rectangle {
Text {
id: _text
color: "#EEEEEE"
font.pixelSize: width / 2
font.pixelSize: propertyButton.width / 2
anchors.centerIn: parent
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment