mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-25 03:41:08 -07:00
Increased the font size of notification icon to make it more readable
CURA-6151
This commit is contained in:
parent
e1804e0a47
commit
0bad57259c
2 changed files with 7 additions and 3 deletions
|
|
@ -25,12 +25,16 @@ Rectangle
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
id: notificationLabel
|
id: notificationLabel
|
||||||
anchors.centerIn: parent
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
color: UM.Theme.getColor("primary_text")
|
color: UM.Theme.getColor("primary_text")
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font: UM.Theme.getFont("small")
|
font: UM.Theme.getFont("default")
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
|
|
||||||
|
// This is a bit of a hack, but we don't really have enough room for 2 characters (eg 9+). The default font
|
||||||
|
// does have a tad bit to much spacing. So instead of adding a whole new font, we just modify it a bit for this
|
||||||
|
// specific instance.
|
||||||
|
Component.onCompleted: font.letterSpacing = -1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -604,7 +604,7 @@
|
||||||
"toolbox_action_button": [8.0, 2.5],
|
"toolbox_action_button": [8.0, 2.5],
|
||||||
"toolbox_loader": [2.0, 2.0],
|
"toolbox_loader": [2.0, 2.0],
|
||||||
|
|
||||||
"notification_icon": [1.4, 1.4],
|
"notification_icon": [1.5, 1.5],
|
||||||
|
|
||||||
"avatar_image": [6.8, 6.8],
|
"avatar_image": [6.8, 6.8],
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue