mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Some UI polishing
CURA-6598
This commit is contained in:
parent
a3d3580e2a
commit
c7b6133e3d
2 changed files with 9 additions and 4 deletions
|
|
@ -22,6 +22,7 @@ Button
|
||||||
border.width: 1
|
border.width: 1
|
||||||
border.color: button.checked ? UM.Theme.getColor("setting_control_border_highlight") : "transparent"
|
border.color: button.checked ? UM.Theme.getColor("setting_control_border_highlight") : "transparent"
|
||||||
color: button.hovered ? UM.Theme.getColor("action_button_hovered") : "transparent"
|
color: button.hovered ? UM.Theme.getColor("action_button_hovered") : "transparent"
|
||||||
|
radius: UM.Theme.getSize("action_button_radius").width
|
||||||
}
|
}
|
||||||
|
|
||||||
// Workarround to ensure that the mnemonic highlighting happens correctly
|
// Workarround to ensure that the mnemonic highlighting happens correctly
|
||||||
|
|
@ -42,6 +43,6 @@ Button
|
||||||
height: contentHeight
|
height: contentHeight
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
anchors.left: button.left
|
anchors.left: button.left
|
||||||
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
anchors.leftMargin: UM.Theme.getSize("wide_margin").width
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -65,7 +65,7 @@ Popup
|
||||||
enabled: false
|
enabled: false
|
||||||
visible: qualitiesList.visibleChildren.length > 0
|
visible: qualitiesList.visibleChildren.length > 0
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.leftMargin: UM.Theme.getSize("narrow_margin").width
|
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
||||||
}
|
}
|
||||||
|
|
||||||
Column
|
Column
|
||||||
|
|
@ -195,14 +195,18 @@ Popup
|
||||||
id: textLabel
|
id: textLabel
|
||||||
text: manageProfilesButton.text
|
text: manageProfilesButton.text
|
||||||
height: contentHeight
|
height: contentHeight
|
||||||
anchors.left: button.left
|
anchors.left: parent.left
|
||||||
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
anchors.leftMargin: UM.Theme.getSize("default_margin").width + UM.Theme.getSize("narrow_margin").width
|
||||||
|
verticalAlignment: Text.AlignVCenter
|
||||||
}
|
}
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
id: shortcutLabel
|
id: shortcutLabel
|
||||||
text: Cura.Actions.manageProfiles.shortcut
|
text: Cura.Actions.manageProfiles.shortcut
|
||||||
|
height: contentHeight
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
|
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
||||||
|
verticalAlignment: Text.AlignVCenter
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
onClicked:
|
onClicked:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue