mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 21:13:26 +02:00
Finished accepting buy/sell market item offers, few minor fixes.
This commit is contained in:
39
modules/game_market/ui/general/amountwindow.otui
Normal file
39
modules/game_market/ui/general/amountwindow.otui
Normal file
@@ -0,0 +1,39 @@
|
||||
AmountWindow < MainWindow
|
||||
id: amountWindow
|
||||
!text: tr('Amount')
|
||||
size: 196 112
|
||||
|
||||
Label
|
||||
!text: tr('Amount:')
|
||||
width: 64
|
||||
anchors.left: parent.left
|
||||
anchors.top: parent.top
|
||||
margin-top: 2
|
||||
|
||||
SpinBox
|
||||
id: amountSpinBox
|
||||
anchors.left: prev.right
|
||||
anchors.right: parent.right
|
||||
anchors.top: parent.top
|
||||
|
||||
HorizontalScrollBar
|
||||
id: amountScrollBar
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.top: prev.bottom
|
||||
margin-top: 8
|
||||
|
||||
Button
|
||||
id: buttonOk
|
||||
!text: tr('Ok')
|
||||
width: 64
|
||||
anchors.right: next.left
|
||||
anchors.bottom: parent.bottom
|
||||
margin-right: 5
|
||||
|
||||
Button
|
||||
id: buttonCancel
|
||||
!text: tr('Cancel')
|
||||
width: 64
|
||||
anchors.right: parent.right
|
||||
anchors.bottom: parent.bottom
|
@@ -101,7 +101,7 @@ Panel
|
||||
margin-top: 3
|
||||
width: 75
|
||||
minimum: 1
|
||||
maximum: 99999999
|
||||
maximum: 999999999
|
||||
|
||||
$disabled:
|
||||
color: #aaaaaa44
|
||||
@@ -122,7 +122,7 @@ Panel
|
||||
margin-top: 3
|
||||
width: 75
|
||||
minimum: 1
|
||||
maximum: 99999999
|
||||
maximum: 999999999
|
||||
|
||||
$disabled:
|
||||
color: #aaaaaa44
|
||||
@@ -150,7 +150,7 @@ Panel
|
||||
margin-left: 3
|
||||
width: 55
|
||||
minimum: 1
|
||||
maximum: 999999
|
||||
maximum: 64000
|
||||
|
||||
NextButton
|
||||
id: nextAmountButton
|
||||
@@ -166,7 +166,6 @@ Panel
|
||||
anchors.left: prev.right
|
||||
margin-left: 7
|
||||
width: 90
|
||||
//@onClick: g_game.closeNpcTrade()
|
||||
|
||||
CheckBox
|
||||
id: anonymousCheckBox
|
||||
|
@@ -40,12 +40,13 @@ Panel
|
||||
margin: 1
|
||||
|
||||
Button
|
||||
id: buyButton
|
||||
!text: tr('Buy Now')
|
||||
anchors.right: parent.right
|
||||
anchors.bottom: next.bottom
|
||||
margin-right: 6
|
||||
width: 80
|
||||
//@onClick: g_game.closeNpcTrade()
|
||||
enabled: false
|
||||
|
||||
Label
|
||||
!text: tr('Sell Offers')
|
||||
@@ -93,13 +94,14 @@ Panel
|
||||
pixels-scroll: true
|
||||
|
||||
Button
|
||||
id: sellButton
|
||||
!text: tr('Sell Now')
|
||||
anchors.right: parent.right
|
||||
anchors.top: prev.bottom
|
||||
margin-top: 5
|
||||
margin-right: 6
|
||||
width: 80
|
||||
//@onClick: g_game.closeNpcTrade()
|
||||
enabled: false
|
||||
|
||||
Label
|
||||
!text: tr('Buy Offers')
|
||||
|
Reference in New Issue
Block a user