mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
Add icons on left and right side of text
For this I had to implement functionality in ActionButton to be able to display the icon on either side. Contributes to issue CURA-5876.
This commit is contained in:
parent
dca286cea5
commit
d42ddad606
2 changed files with 25 additions and 4 deletions
|
@ -172,6 +172,9 @@ Cura.ExpandableComponent
|
|||
textColor: UM.Theme.getColor("primary")
|
||||
textHoverColor: UM.Theme.getColor("text")
|
||||
|
||||
iconSource: UM.Theme.icons.arrow_right
|
||||
iconOnRightSide: true
|
||||
|
||||
onClicked: popupItem.configuration_method = "custom"
|
||||
}
|
||||
|
||||
|
@ -192,6 +195,8 @@ Cura.ExpandableComponent
|
|||
textColor: UM.Theme.getColor("primary")
|
||||
textHoverColor: UM.Theme.getColor("text")
|
||||
|
||||
iconSource: UM.Theme.icons.arrow_left
|
||||
|
||||
onClicked: popupItem.configuration_method = "auto"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue