mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
Make the collapse arrows consistent with the rest of the UI
CURA-5785
This commit is contained in:
parent
b589920f53
commit
7ca3490097
3 changed files with 3 additions and 3 deletions
|
@ -109,7 +109,7 @@ Item
|
||||||
y: headerItemLoader.height + 2 * background.padding
|
y: headerItemLoader.height + 2 * background.padding
|
||||||
|
|
||||||
// Make the popup right aligned with the rest. The 3x padding is due to left, right and padding between
|
// Make the popup right aligned with the rest. The 3x padding is due to left, right and padding between
|
||||||
//the button & text.
|
// the button & text.
|
||||||
x: -width + collapseButton.width + headerItemLoader.width + 3 * background.padding
|
x: -width + collapseButton.width + headerItemLoader.width + 3 * background.padding
|
||||||
padding: UM.Theme.getSize("default_margin").width
|
padding: UM.Theme.getSize("default_margin").width
|
||||||
closePolicy: Popup.CloseOnPressOutsideParent
|
closePolicy: Popup.CloseOnPressOutsideParent
|
||||||
|
|
|
@ -17,7 +17,7 @@ Cura.ExpandableComponent
|
||||||
|
|
||||||
property bool isNetworkPrinter: Cura.MachineManager.activeMachineNetworkKey != ""
|
property bool isNetworkPrinter: Cura.MachineManager.activeMachineNetworkKey != ""
|
||||||
|
|
||||||
iconSource: expanded ? UM.Theme.getIcon("arrow_left") : UM.Theme.getIcon("arrow_bottom")
|
iconSource: expanded ? UM.Theme.getIcon("arrow_bottom") : UM.Theme.getIcon("arrow_left")
|
||||||
|
|
||||||
UM.I18nCatalog
|
UM.I18nCatalog
|
||||||
{
|
{
|
||||||
|
|
|
@ -27,7 +27,7 @@ Cura.ExpandableComponent
|
||||||
name: "cura"
|
name: "cura"
|
||||||
}
|
}
|
||||||
|
|
||||||
iconSource: expanded ? UM.Theme.getIcon("arrow_left") : UM.Theme.getIcon("arrow_bottom")
|
iconSource: expanded ? UM.Theme.getIcon("arrow_bottom") : UM.Theme.getIcon("arrow_left")
|
||||||
|
|
||||||
headerItem: Item
|
headerItem: Item
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue