mirror of
https://github.com/edubart/otclient.git
synced 2025-05-06 20:49:19 +02:00

* Added 'button' param to g_mouse.bindPress * Added 'lower' param to table.contains * UIComboBox:onOptionChange should signalcall? * Changed the experience bar color * Market buy/sell 'amount' window will now show the cost of the amount you are selecting
46 lines
969 B
Plaintext
46 lines
969 B
Plaintext
AmountWindow < MainWindow
|
|
id: amountWindow
|
|
!text: tr('Amount')
|
|
size: 196 80
|
|
|
|
Item
|
|
id: item
|
|
text-offset: 0 22
|
|
text-align: right
|
|
anchors.left: parent.left
|
|
anchors.top: parent.top
|
|
margin-top: 2
|
|
margin-left: -4
|
|
focusable: false
|
|
virtual: true
|
|
|
|
HorizontalScrollBar
|
|
id: amountScrollBar
|
|
anchors.left: prev.right
|
|
anchors.right: parent.right
|
|
anchors.top: prev.top
|
|
margin-left: 10
|
|
margin-top: -2
|
|
focusable: false
|
|
|
|
Button
|
|
id: buttonCancel
|
|
!text: tr('Cancel')
|
|
height: 20
|
|
anchors.left: amountScrollBar.horizontalCenter
|
|
anchors.right: amountScrollBar.right
|
|
anchors.top: amountScrollBar.bottom
|
|
margin-top: 7
|
|
focusable: false
|
|
|
|
Button
|
|
id: buttonOk
|
|
!text: tr('Ok')
|
|
height: 20
|
|
anchors.right: amountScrollBar.horizontalCenter
|
|
anchors.left: amountScrollBar.left
|
|
anchors.top: amountScrollBar.bottom
|
|
margin-top: 7
|
|
margin-right: 6
|
|
focusable: false
|