Emphasize settings that have a value in the user or quality profile

(in a subtle way)
This commit is contained in:
fieldOfView 2016-07-11 21:15:09 +02:00
parent 1b2514ae2e
commit a7cfe1b5af
2 changed files with 8 additions and 2 deletions

View file

@ -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

View file

@ -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,