Some UI polishing

CURA-6598
This commit is contained in:
Jaime van Kessel 2019-08-07 11:27:02 +02:00
parent a3d3580e2a
commit c7b6133e3d
2 changed files with 9 additions and 4 deletions

View file

@ -22,6 +22,7 @@ Button
border.width: 1
border.color: button.checked ? UM.Theme.getColor("setting_control_border_highlight") : "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
@ -42,6 +43,6 @@ Button
height: contentHeight
verticalAlignment: Text.AlignVCenter
anchors.left: button.left
anchors.leftMargin: UM.Theme.getSize("default_margin").width
anchors.leftMargin: UM.Theme.getSize("wide_margin").width
}
}

View file

@ -65,7 +65,7 @@ Popup
enabled: false
visible: qualitiesList.visibleChildren.length > 0
anchors.left: parent.left
anchors.leftMargin: UM.Theme.getSize("narrow_margin").width
anchors.leftMargin: UM.Theme.getSize("default_margin").width
}
Column
@ -195,14 +195,18 @@ Popup
id: textLabel
text: manageProfilesButton.text
height: contentHeight
anchors.left: button.left
anchors.leftMargin: UM.Theme.getSize("default_margin").width
anchors.left: parent.left
anchors.leftMargin: UM.Theme.getSize("default_margin").width + UM.Theme.getSize("narrow_margin").width
verticalAlignment: Text.AlignVCenter
}
Label
{
id: shortcutLabel
text: Cura.Actions.manageProfiles.shortcut
height: contentHeight
anchors.right: parent.right
anchors.rightMargin: UM.Theme.getSize("default_margin").width
verticalAlignment: Text.AlignVCenter
}
}
onClicked: