mirror of
https://github.com/brmlab/brmbar.git
synced 2025-06-08 13:24:01 +02:00
brmbarv3: Convert font sizes from points to pixels to be DPI-independent
This commit is contained in:
parent
4d72dff187
commit
e55f5cfa5e
15 changed files with 59 additions and 59 deletions
|
@ -21,7 +21,7 @@ Item {
|
|||
wrapMode: Text.WordWrap
|
||||
horizontalAlignment: Text.AlignRight
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
font.pointSize: 44
|
||||
font.pixelSize: 60
|
||||
}
|
||||
|
||||
Text {
|
||||
|
@ -34,7 +34,7 @@ Item {
|
|||
text: parent.amount
|
||||
horizontalAlignment: Text.AlignRight
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
font.pointSize: 90
|
||||
font.pixelSize: 122
|
||||
}
|
||||
|
||||
BarTextHint {
|
||||
|
@ -80,7 +80,7 @@ Item {
|
|||
y: 582
|
||||
width: 360
|
||||
text: "Charge"
|
||||
fontSize: 44
|
||||
fontSize: 60
|
||||
visible: parent.amount && parent.userdbid
|
||||
onButtonClick: {
|
||||
parent.chargeCredit()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue