Create a component for the Views selector. This component contains the

list of the views and also the shortcuts for the camera position.

The theme colors, sizes and the styles have been updated.

Contributes to CURA-5784.
This commit is contained in:
Diego Prado Gesto 2018-10-08 12:57:16 +02:00
parent 3acfdadd12
commit 075a9a161f
9 changed files with 235 additions and 304 deletions

View file

@ -32,15 +32,15 @@ Button
{
if(control.hovered)
{
return UM.Theme.getColor("topbar_button_text_hovered");
return UM.Theme.getColor("toolbox_header_button_text_hovered");
}
if(control.active)
{
return UM.Theme.getColor("topbar_button_text_active");
return UM.Theme.getColor("toolbox_header_button_text_active");
}
else
{
return UM.Theme.getColor("topbar_button_text_inactive");
return UM.Theme.getColor("toolbox_header_button_text_inactive");
}
}
font: control.enabled ? (control.active ? UM.Theme.getFont("medium_bold") : UM.Theme.getFont("medium")) : UM.Theme.getFont("default_italic")