brmbarv3: Convert font sizes from points to pixels to be DPI-independent

This commit is contained in:
Petr Baudis 2012-10-16 17:45:21 +02:00
parent 4d72dff187
commit e55f5cfa5e
15 changed files with 59 additions and 59 deletions

View file

@ -7,7 +7,7 @@ Rectangle {
height: 65
property variant now: new Date()
property variant textColor: "#000000"
property variant textSize: 12
property variant textSize: 16
Timer {
id: clockUpdater
interval: 1000 // update clock every second
@ -22,6 +22,6 @@ Rectangle {
anchors.centerIn: parent
text: Qt.formatDateTime(parent.now, "hh:mm:ss")
color: parent.textColor
font.pointSize: parent.textSize
font.pixelSize: parent.textSize
}
}