mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 07:56:22 -06:00
Improve margins of qualities menu
CURA-8928
This commit is contained in:
parent
a0f9febf62
commit
fc577ffcbc
2 changed files with 5 additions and 4 deletions
|
@ -18,11 +18,11 @@ Button
|
|||
property string labelText: ""
|
||||
id: button
|
||||
hoverEnabled: true
|
||||
leftPadding:UM.Theme.getSize("wide_margin").width
|
||||
leftPadding: UM.Theme.getSize("default_margin").width
|
||||
|
||||
background: Rectangle
|
||||
{
|
||||
id: backgroundRectangle
|
||||
id: backgroundRectanglewide_margin
|
||||
color: button.hovered ? UM.Theme.getColor("background_2"): UM.Theme.getColor("background_1")
|
||||
}
|
||||
|
||||
|
|
|
@ -130,6 +130,7 @@ Popup
|
|||
checkable: true
|
||||
visible: model.available
|
||||
text: model.name + " - " + model.layer_height + " mm"
|
||||
leftPadding: UM.Theme.getSize("wide_margin").width
|
||||
checked:
|
||||
{
|
||||
if (Cura.MachineManager.hasCustomQuality)
|
||||
|
@ -195,6 +196,7 @@ Popup
|
|||
checkable: true
|
||||
visible: model.available
|
||||
text: model.name
|
||||
leftPadding: UM.Theme.getSize("wide_margin").width
|
||||
checked:
|
||||
{
|
||||
var active_quality_group = Cura.MachineManager.activeQualityChangesGroup
|
||||
|
@ -295,13 +297,12 @@ Popup
|
|||
id: textLabel
|
||||
text: manageProfilesButton.text
|
||||
height: contentHeight
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: UM.Theme.getSize("default_margin").width + UM.Theme.getSize("narrow_margin").width
|
||||
}
|
||||
UM.Label
|
||||
{
|
||||
id: shortcutLabel
|
||||
text: Cura.Actions.manageProfiles.shortcut
|
||||
color: UM.Theme.getColor("text_lighter")
|
||||
height: contentHeight
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue