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

@@ -120,6 +120,9 @@ Item{
property var fontScalingList: [0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5]
property int fontScalingIndex: 5
property real fontWidth: 1.0
onFontWidthChanged: handleFontChanged();
function setScalingIndex(newScaling){
fontScalingIndex = newScaling;
fontScalingChanged();