Improvement: all fonts now have a custom default width, this allows to have more uniform sizes across fonts and different rasterizations. Small tweaks in font sizes.

This commit is contained in:
Filippo Scognamiglio
2014-12-12 01:38:32 +01:00
parent 30cc2a5e9c
commit 94131a24ad
6 changed files with 40 additions and 18 deletions

View File

@@ -93,7 +93,11 @@ Tab{
onValueChanged: appSettings.fontWidth = value;
value: appSettings.fontWidth
stepSize: 0.05
Component.onCompleted: minimumValue = 0.5 //Without this value gets set to 0.5
Component.onCompleted: {
// This is needed to avoid unnecessary chnaged events.
minimumValue = 0.5;
maximumValue = 1.5;
}
}
Text{
text: Math.round(widthChanger.value * 100) + "%"