mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 14:55:03 -06:00
Merge branch 'master' of github.com:Ultimaker/Cura
This commit is contained in:
commit
bf47bfc4ea
6 changed files with 25 additions and 12 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue