mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-05 16:51:12 -07:00
Code layout. CURA-2763
This commit is contained in:
parent
332ef2ed19
commit
0d023a196e
1 changed files with 6 additions and 6 deletions
|
|
@ -95,11 +95,11 @@ Column
|
||||||
{
|
{
|
||||||
border.width: UM.Theme.getSize("default_lining").width
|
border.width: UM.Theme.getSize("default_lining").width
|
||||||
border.color: control.checked ? UM.Theme.getColor("tab_checked_border") :
|
border.color: control.checked ? UM.Theme.getColor("tab_checked_border") :
|
||||||
control.pressed ? UM.Theme.getColor("tab_active_border") :
|
control.pressed ? UM.Theme.getColor("tab_active_border") :
|
||||||
control.hovered ? UM.Theme.getColor("tab_hovered_border") : UM.Theme.getColor("tab_unchecked_border")
|
control.hovered ? UM.Theme.getColor("tab_hovered_border") : UM.Theme.getColor("tab_unchecked_border")
|
||||||
color: control.checked ? UM.Theme.getColor("tab_checked") :
|
color: control.checked ? UM.Theme.getColor("tab_checked") :
|
||||||
control.pressed ? UM.Theme.getColor("tab_active") :
|
control.pressed ? UM.Theme.getColor("tab_active") :
|
||||||
control.hovered ? UM.Theme.getColor("tab_hovered") : UM.Theme.getColor("tab_unchecked")
|
control.hovered ? UM.Theme.getColor("tab_hovered") : UM.Theme.getColor("tab_unchecked")
|
||||||
Behavior on color { ColorAnimation { duration: 50; } }
|
Behavior on color { ColorAnimation { duration: 50; } }
|
||||||
|
|
||||||
Rectangle
|
Rectangle
|
||||||
|
|
@ -137,8 +137,8 @@ Column
|
||||||
anchors.rightMargin: UM.Theme.getSize("default_margin").width / 2
|
anchors.rightMargin: UM.Theme.getSize("default_margin").width / 2
|
||||||
|
|
||||||
color: control.checked ? UM.Theme.getColor("tab_checked_text") :
|
color: control.checked ? UM.Theme.getColor("tab_checked_text") :
|
||||||
control.pressed ? UM.Theme.getColor("tab_active_text") :
|
control.pressed ? UM.Theme.getColor("tab_active_text") :
|
||||||
control.hovered ? UM.Theme.getColor("tab_hovered_text") : UM.Theme.getColor("tab_unchecked_text")
|
control.hovered ? UM.Theme.getColor("tab_hovered_text") : UM.Theme.getColor("tab_unchecked_text")
|
||||||
|
|
||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
text: control.text
|
text: control.text
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue