edvin
05/20/2018, 7:28 AMbutton(shapeItem.name)
instead of button(shapeItem.nameProperty)
. Binding to the nameProperty
would allow the button label to change if the shapeItem name property changes, but if you don't need that, you might actually stick with just name
, as it doesn't create a binding and as such is slightly more light weight.