mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-10-10 15:27:53 -06:00
Fixed more thin borders on HiDPI screens
This commit is contained in:
parent
1747efeff8
commit
d5af132a9a
3 changed files with 3 additions and 0 deletions
|
@ -69,6 +69,7 @@ Item{
|
||||||
Rectangle{
|
Rectangle{
|
||||||
id: globalProfileRow;
|
id: globalProfileRow;
|
||||||
anchors.top: UM.MachineManager.hasVariants ? variantRow.bottom : base.top
|
anchors.top: UM.MachineManager.hasVariants ? variantRow.bottom : base.top
|
||||||
|
anchors.topMargin: UM.MachineManager.hasVariants ? UM.Theme.sizes.default_lining.height : 0
|
||||||
//anchors.top: variantRow.bottom
|
//anchors.top: variantRow.bottom
|
||||||
height: UM.Theme.sizes.sidebar_setup.height
|
height: UM.Theme.sizes.sidebar_setup.height
|
||||||
width: base.width
|
width: base.width
|
||||||
|
|
|
@ -131,6 +131,7 @@ Rectangle {
|
||||||
style: ButtonStyle {
|
style: ButtonStyle {
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
id: deviceSelectionIcon
|
id: deviceSelectionIcon
|
||||||
|
border.width: UM.Theme.sizes.default_lining.width
|
||||||
border.color: !control.enabled ? UM.Theme.colors.action_button_disabled_border :
|
border.color: !control.enabled ? UM.Theme.colors.action_button_disabled_border :
|
||||||
control.pressed ? UM.Theme.colors.action_button_active_border :
|
control.pressed ? UM.Theme.colors.action_button_active_border :
|
||||||
control.hovered ? UM.Theme.colors.action_button_hovered_border : UM.Theme.colors.action_button_border
|
control.hovered ? UM.Theme.colors.action_button_hovered_border : UM.Theme.colors.action_button_border
|
||||||
|
|
|
@ -120,6 +120,7 @@ Rectangle
|
||||||
|
|
||||||
style: ButtonStyle {
|
style: ButtonStyle {
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
|
border.width: UM.Theme.sizes.default_lining.width
|
||||||
border.color: control.checked ? UM.Theme.colors.toggle_checked_border :
|
border.color: control.checked ? UM.Theme.colors.toggle_checked_border :
|
||||||
control.pressed ? UM.Theme.colors.toggle_active_border :
|
control.pressed ? UM.Theme.colors.toggle_active_border :
|
||||||
control.hovered ? UM.Theme.colors.toggle_hovered_border : UM.Theme.colors.toggle_unchecked_border
|
control.hovered ? UM.Theme.colors.toggle_hovered_border : UM.Theme.colors.toggle_unchecked_border
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue