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: ""
|
property string labelText: ""
|
||||||
id: button
|
id: button
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
leftPadding:UM.Theme.getSize("wide_margin").width
|
leftPadding: UM.Theme.getSize("default_margin").width
|
||||||
|
|
||||||
background: Rectangle
|
background: Rectangle
|
||||||
{
|
{
|
||||||
id: backgroundRectangle
|
id: backgroundRectanglewide_margin
|
||||||
color: button.hovered ? UM.Theme.getColor("background_2"): UM.Theme.getColor("background_1")
|
color: button.hovered ? UM.Theme.getColor("background_2"): UM.Theme.getColor("background_1")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -130,6 +130,7 @@ Popup
|
||||||
checkable: true
|
checkable: true
|
||||||
visible: model.available
|
visible: model.available
|
||||||
text: model.name + " - " + model.layer_height + " mm"
|
text: model.name + " - " + model.layer_height + " mm"
|
||||||
|
leftPadding: UM.Theme.getSize("wide_margin").width
|
||||||
checked:
|
checked:
|
||||||
{
|
{
|
||||||
if (Cura.MachineManager.hasCustomQuality)
|
if (Cura.MachineManager.hasCustomQuality)
|
||||||
|
@ -195,6 +196,7 @@ Popup
|
||||||
checkable: true
|
checkable: true
|
||||||
visible: model.available
|
visible: model.available
|
||||||
text: model.name
|
text: model.name
|
||||||
|
leftPadding: UM.Theme.getSize("wide_margin").width
|
||||||
checked:
|
checked:
|
||||||
{
|
{
|
||||||
var active_quality_group = Cura.MachineManager.activeQualityChangesGroup
|
var active_quality_group = Cura.MachineManager.activeQualityChangesGroup
|
||||||
|
@ -295,13 +297,12 @@ Popup
|
||||||
id: textLabel
|
id: textLabel
|
||||||
text: manageProfilesButton.text
|
text: manageProfilesButton.text
|
||||||
height: contentHeight
|
height: contentHeight
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.leftMargin: UM.Theme.getSize("default_margin").width + UM.Theme.getSize("narrow_margin").width
|
|
||||||
}
|
}
|
||||||
UM.Label
|
UM.Label
|
||||||
{
|
{
|
||||||
id: shortcutLabel
|
id: shortcutLabel
|
||||||
text: Cura.Actions.manageProfiles.shortcut
|
text: Cura.Actions.manageProfiles.shortcut
|
||||||
|
color: UM.Theme.getColor("text_lighter")
|
||||||
height: contentHeight
|
height: contentHeight
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue