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

@ -43,7 +43,7 @@ Item {
text: page.description
wrapMode: Text.WordWrap
verticalAlignment: Text.AlignVCenter
font.pointSize: 34
font.pixelSize: 46
}
BarButton {
@ -52,7 +52,7 @@ Item {
y: 0
width: 300
height: 60
fontSize: 34
fontSize: 46
text: page.state == "description_edit" ? "Assign" : "Description"
onButtonClick: { if (page.state == "description_edit") page.state = "normal"; else page.state = "description_edit"; }
}
@ -84,7 +84,7 @@ Item {
color: "#ffffff"
text: "Money Amount:"
verticalAlignment: Text.AlignVCenter
font.pointSize: 34
font.pixelSize: 46
}
Text {
@ -97,7 +97,7 @@ Item {
text: amount
horizontalAlignment: Text.AlignRight
verticalAlignment: Text.AlignVCenter
font.pointSize: 34
font.pixelSize: 46
}
BarButton {
@ -106,7 +106,7 @@ Item {
y: 0
width: 240
height: 60
fontSize: 34
fontSize: 46
text: page.state == "amount_edit" ? "Assign" : "Edit"
onButtonClick: { if (page.state == "amount_edit") page.state = "normal"; else page.state = "amount_edit"; }
}
@ -141,7 +141,7 @@ Item {
text: "This is for cashing in small brmlab expenses.\nWrite the current date on the receipt and put it to the money box.\nDo not forget to announce this on a meetup and add it to the [[newz]].\nFor restocking brmbar items, please go to the Management view instead."
wrapMode: Text.WordWrap
horizontalAlignment: Text.AlignHCenter
font.pointSize: 20
font.pixelSize: 27
}
BarButton {