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

@ -20,7 +20,7 @@ Item {
text: parent.name
wrapMode: Text.WordWrap
verticalAlignment: Text.AlignVCenter
font.pointSize: 44
font.pixelSize: 60
}
Text {
@ -33,7 +33,7 @@ Item {
text: parent.price
horizontalAlignment: Text.AlignRight
verticalAlignment: Text.AlignVCenter
font.pointSize: 90
font.pixelSize: 122
}
BarTextHint {
@ -68,7 +68,7 @@ Item {
y: 582
width: 360
text: "Pay by cash"
fontSize: 44
fontSize: 60
onButtonClick: {
shop.sellItemCash(dbid)
status_text.setStatus("Sold! Put " + price + " Kč in the money box.", "#ffff7c")