mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Emphasize settings that have a value in the user or quality profile
(in a subtle way)
This commit is contained in:
parent
1b2514ae2e
commit
a7cfe1b5af
2 changed files with 8 additions and 2 deletions
|
@ -64,7 +64,7 @@ Item {
|
|||
return tooltip
|
||||
}
|
||||
|
||||
MouseArea
|
||||
MouseArea
|
||||
{
|
||||
id: mouse;
|
||||
|
||||
|
@ -114,7 +114,8 @@ Item {
|
|||
elide: Text.ElideMiddle;
|
||||
|
||||
color: UM.Theme.getColor("setting_control_text");
|
||||
font: UM.Theme.getFont("default");
|
||||
// emphasize the setting if it has a value in the user or quality profile
|
||||
font: base.stackLevel != undefined && base.stackLevel <= 1 ? UM.Theme.getFont("default_italic") : UM.Theme.getFont("default")
|
||||
}
|
||||
|
||||
Row
|
||||
|
|
|
@ -14,6 +14,11 @@
|
|||
"bold": true,
|
||||
"family": "Open Sans"
|
||||
},
|
||||
"default_italic": {
|
||||
"size": 1.15,
|
||||
"italic": true,
|
||||
"family": "Open Sans"
|
||||
},
|
||||
"small": {
|
||||
"size": 1.0,
|
||||
"bold": true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue