forked from brmlab/brmbar-github
Slightly improve (and correct) credit charging UI
This commit is contained in:
parent
48bfde333a
commit
4983fea31e
2 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@ Item {
|
||||||
width: 537
|
width: 537
|
||||||
height: 80
|
height: 80
|
||||||
color: "#ffffff"
|
color: "#ffffff"
|
||||||
text: parent.username ? parent.username : "Credit charge"
|
text: parent.username ? parent.username : ""
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
horizontalAlignment: Text.AlignRight
|
horizontalAlignment: Text.AlignRight
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
@ -41,7 +41,7 @@ Item {
|
||||||
x: 65
|
x: 65
|
||||||
y: 430
|
y: 430
|
||||||
hint_goal: (parent.username ? "" : parent.amount ? "Charge user:" : "Charge credit:")
|
hint_goal: (parent.username ? "" : parent.amount ? "Charge user:" : "Charge credit:")
|
||||||
hint_action: (parent.username ? (parent.amount ? "" : "(or scan barcode now)") : "Scan barcode now")
|
hint_action: (parent.username ? "" : "Scan barcode now")
|
||||||
}
|
}
|
||||||
|
|
||||||
BarNumPad {
|
BarNumPad {
|
||||||
|
|
|
@ -39,7 +39,7 @@ Item {
|
||||||
x: 599
|
x: 599
|
||||||
y: 430
|
y: 430
|
||||||
width: 360
|
width: 360
|
||||||
text: "Credit"
|
text: "Charge"
|
||||||
onButtonClick: {
|
onButtonClick: {
|
||||||
loadPage("ChargeCredit")
|
loadPage("ChargeCredit")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue