mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 04:54:04 -06:00
Merge branch 'master' of github.com:Ultimaker/Cura into replace_controls_1_for_controls_2
This commit is contained in:
commit
f682f56923
371 changed files with 41465 additions and 33048 deletions
|
@ -15,6 +15,7 @@ Button
|
|||
property bool isIconOnRightSide: false
|
||||
|
||||
property alias iconSource: buttonIconLeft.source
|
||||
property real iconSize: UM.Theme.getSize("action_button_icon").height
|
||||
property alias textFont: buttonText.font
|
||||
property alias cornerRadius: backgroundRect.radius
|
||||
property alias tooltip: tooltip.tooltipText
|
||||
|
@ -109,7 +110,7 @@ Button
|
|||
{
|
||||
id: buttonIconLeft
|
||||
source: ""
|
||||
height: visible ? UM.Theme.getSize("action_button_icon").height : 0
|
||||
height: visible ? button.iconSize : 0
|
||||
width: visible ? height : 0
|
||||
sourceSize.width: width
|
||||
sourceSize.height: height
|
||||
|
@ -156,7 +157,7 @@ Button
|
|||
{
|
||||
id: buttonIconRight
|
||||
source: buttonIconLeft.source
|
||||
height: visible ? UM.Theme.getSize("action_button_icon").height : 0
|
||||
height: visible ? button.iconSize : 0
|
||||
width: visible ? height : 0
|
||||
sourceSize.width: width
|
||||
sourceSize.height: height
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue