Increased the font size of notification icon to make it more readable

CURA-6151
This commit is contained in:
Jaime van Kessel 2019-04-08 13:27:30 +02:00
parent e1804e0a47
commit 0bad57259c
2 changed files with 7 additions and 3 deletions

View file

@ -25,12 +25,16 @@ Rectangle
Label
{
id: notificationLabel
anchors.centerIn: parent
anchors.fill: parent
color: UM.Theme.getColor("primary_text")
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
font: UM.Theme.getFont("small")
font: UM.Theme.getFont("default")
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
}
}