mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 13:53:13 +08: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
@ -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…
x
Reference in New Issue
Block a user