mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-24 05:14:26 +08:00
Improve margins of qualities menu
CURA-8928
This commit is contained in:
parent
a0f9febf62
commit
fc577ffcbc
@ -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…
x
Reference in New Issue
Block a user