brmbarv3: Resize all texts by a horrible hack

This commit is contained in:
Petr Baudis 2012-10-16 23:32:50 +02:00
parent 0b43a93c0d
commit bab3dd376a
16 changed files with 58 additions and 58 deletions

View file

@ -55,7 +55,7 @@ Item {
text: page.item_name
wrapMode: Text.WordWrap
verticalAlignment: Text.AlignVCenter
font.pixelSize: 46
font.fontSize: 0.768 * 46
}
BarButton {
@ -64,7 +64,7 @@ Item {
y: 0
width: 240
height: 60
fontSize: 46
fontSize: 0.768 * 46
text: page.state == "name_edit" ? "Assign" : "Edit"
onButtonClick: { if (page.state == "name_edit") page.state = "normal"; else page.state = "name_edit"; }
}
@ -97,7 +97,7 @@ Item {
color: "#ffffff"
text: "Buy price:"
verticalAlignment: Text.AlignVCenter
font.pixelSize: 46
font.fontSize: 0.768 * 46
}
Text {
@ -110,7 +110,7 @@ Item {
text: page.buy_price
horizontalAlignment: Text.AlignRight
verticalAlignment: Text.AlignVCenter
font.pixelSize: 46
font.fontSize: 0.768 * 46
}
BarButton {
@ -119,7 +119,7 @@ Item {
y: 0
width: 240
height: 60
fontSize: 46
fontSize: 0.768 * 46
text: page.state == "buyprice_edit" ? "Assign" : "Edit"
onButtonClick: { if (page.state == "buyprice_edit") page.state = "normal"; else page.state = "buyprice_edit"; }
}
@ -152,7 +152,7 @@ Item {
color: "#ffffff"
text: "Sell price:"
verticalAlignment: Text.AlignVCenter
font.pixelSize: 46
font.fontSize: 0.768 * 46
}
Text {
@ -165,7 +165,7 @@ Item {
text: page.price
horizontalAlignment: Text.AlignRight
verticalAlignment: Text.AlignVCenter
font.pixelSize: 46
font.fontSize: 0.768 * 46
}
BarButton {
@ -174,7 +174,7 @@ Item {
y: 0
width: 240
height: 60
fontSize: 46
fontSize: 0.768 * 46
text: page.state == "sellprice_edit" ? "Assign" : "Edit"
onButtonClick: { if (page.state == "sellprice_edit") page.state = "normal"; else page.state = "sellprice_edit"; }
}
@ -207,7 +207,7 @@ Item {
color: "#ffffff"
text: "Quantity:"
verticalAlignment: Text.AlignVCenter
font.pixelSize: 46
font.fontSize: 0.768 * 46
}
Text {
@ -220,7 +220,7 @@ Item {
text: info.balance
horizontalAlignment: Text.AlignRight
verticalAlignment: Text.AlignVCenter
font.pixelSize: 46
font.fontSize: 0.768 * 46
}
BarButton {
@ -229,7 +229,7 @@ Item {
y: 0
width: 240
height: 60
fontSize: 46
fontSize: 0.768 * 46
text: page.state == "balance_edit" ? "Add qty" : "Restock"
onButtonClick: {
if (page.state == "balance_edit") {
@ -267,7 +267,7 @@ Item {
color: "#ffffff"
text: "Add quantity:"
verticalAlignment: Text.AlignVCenter
font.pixelSize: 46
font.fontSize: 0.768 * 46
}
Text {
@ -279,7 +279,7 @@ Item {
color: "#ffff7c"
text: balance_addqty_edit.enteredText
verticalAlignment: Text.AlignVCenter
font.pixelSize: 60
font.fontSize: 0.768 * 60
}
Text {
@ -290,7 +290,7 @@ Item {
width: 248
color: "#71cccc"
text: "Please specify the precise amount of newly\nstocked goods, even if the current quantity\nvalue does not match reality (you can let us\nknow about that at brmbar@brmlab.cz)"
font.pixelSize: 27
font.fontSize: 0.768 * 27
}
}