Font width is customizable. Introducing non squared pixels resolutions.

This commit is contained in:
Filippo Scognamiglio
2014-09-28 18:23:14 +02:00
parent 14ab8942af
commit a08c738a65
6 changed files with 22 additions and 16 deletions

View File

@@ -87,6 +87,21 @@ Tab{
text: shadersettings.fontScalingList[scalingChanger.value].toFixed(2)
}
}
Text{ text: qsTr("Font Width") }
RowLayout{
Layout.fillWidth: true
Slider{
Layout.fillWidth: true
id: widthChanger
onValueChanged: shadersettings.fontWidth = value;
value: shadersettings.fontWidth
stepSize: 0.05
Component.onCompleted: minimumValue = 0.5 //Without this value gets set to 0.5
}
Text{
text: Math.round(widthChanger.value * 100) + "%"
}
}
}
}
GroupBox{