FontsTab.qml
changeset 13 40da62e57d85
parent 5 62a1d3631dcb
child 14 9903a5edeb56
     1.1 --- a/FontsTab.qml	Wed May 28 19:31:55 2014 +0200
     1.2 +++ b/FontsTab.qml	Wed May 28 20:14:23 2014 +0200
     1.3 @@ -46,7 +46,7 @@
     1.4          anchors.margins: 8
     1.5          spacing: 8
     1.6  
     1.7 -        Text {
     1.8 +        Label {
     1.9              id: fontLabel
    1.10              text: "Current font: <b>" + textFontDemoLowerCase.font.family + " - " + textFontDemoLowerCase.font.pointSize +"</b>"
    1.11              MouseArea {
    1.12 @@ -59,21 +59,21 @@
    1.13              anchors.margins: 0
    1.14              spacing: 0
    1.15  
    1.16 -            Text {
    1.17 +            Label {
    1.18                  id: textFontDemoLowerCase
    1.19                  anchors.margins: 0
    1.20                  text: "abcdefghijklmnopqrstyvwxyz"
    1.21                  font: Qt.font({ family: "Arial", pointSize: 16, weight: Font.Normal })
    1.22              }
    1.23  
    1.24 -            Text {
    1.25 +            Label {
    1.26                  id: textFontDemoUpperCase
    1.27                  anchors.margins: 0
    1.28                  text: "ABCDEFGHIJKLMNOPQRSTYVWXYZ"
    1.29                  font: textFontDemoLowerCase.font
    1.30              }
    1.31  
    1.32 -            Text {
    1.33 +            Label {
    1.34                  id: textFontDemoDigits
    1.35                  anchors.margins: 0
    1.36                  text: "0123456789"