File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 property var fileProviderModel: CuraApplication .getFileProviderModel ()
1616
1717 height: UM .Theme .getSize (" button" ).height
18- width: height + 4 * UM . Theme . getSize ( " default_lining " ). width // There's some magic going on here
18+ width: height
1919 onClicked:
2020 {
2121 if (fileProviderModel .count <= 1 )
@@ -105,9 +105,6 @@ Button
105105 {
106106 id: openFileButtonMenu
107107
108- // Ensure that the content is located directly below the headerItem
109- // y: background.height + base.popupOffset
110-
111108 // Make the content aligned with the rest, using the property contentAlignment to decide whether is right or left.
112109 // In case of right alignment, the 3x padding is due to left, right and padding between the button & text.
113110 y: buttonBackground .height + 2 * UM .Theme .getSize (" default_lining" ).height
You can’t perform that action at this time.
0 commit comments