Make the collapse arrows consistent with the rest of the UI

CURA-5785
This commit is contained in:
Jaime van Kessel 2018-11-14 14:00:19 +01:00
parent b589920f53
commit 7ca3490097
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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
{ {

View file

@ -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
{ {