Skip to content

Commit

Permalink
[MWP-372] fix property binding loop
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeredian committed Nov 28, 2023
1 parent f389984 commit 2e22757
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qml/MonitorItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -110,22 +110,22 @@ Component
UM.Label {
text: catalog.i18nc("@label", "E0")
color: UM.Theme.getColor("setting_control_text")
width: height
width: UM.Theme.getSize("setting_control").height
height: UM.Theme.getSize("setting_control").height
horizontalAlignment: Text.AlignHCenter
}

Cura.SecondaryButton {
iconSource: UM.Theme.getIcon("ChevronSingleUp");
leftPadding: (width - iconSize) / 2
leftPadding: (_buttonSize - iconSize) / 2
width: _buttonSize
height: _buttonSize

onClicked: Cura.MachineManager.printerOutputDevices[0].e0up()
}
Cura.SecondaryButton {
iconSource: UM.Theme.getIcon("ChevronSingleDown");
leftPadding: (width - iconSize) / 2
leftPadding: (_buttonSize - iconSize) / 2
width: _buttonSize
height: _buttonSize

Expand Down

0 comments on commit 2e22757

Please sign in to comment.