Some style fixes & menu-scroll to add server.
This commit is contained in:
parent
2a57a5f7d0
commit
c2ff89b2cf
|
@ -1,7 +1,7 @@
|
||||||
MainWindow
|
MainWindow
|
||||||
id: addServerWindow
|
id: addServerWindow
|
||||||
!text: tr('New Server')
|
!text: tr('New Server')
|
||||||
size: 180 180
|
size: 180 195
|
||||||
visible: false
|
visible: false
|
||||||
@onEscape: AddServer.hide()
|
@onEscape: AddServer.hide()
|
||||||
@onEnter: AddServer.add()
|
@onEnter: AddServer.add()
|
||||||
|
@ -48,6 +48,9 @@ MainWindow
|
||||||
anchors.top: protocolLabel.bottom
|
anchors.top: protocolLabel.bottom
|
||||||
anchors.left: protocolLabel.left
|
anchors.left: protocolLabel.left
|
||||||
anchors.right: port.right
|
anchors.right: port.right
|
||||||
|
menu-scroll: true
|
||||||
|
menu-height: 125
|
||||||
|
menu-scroll-step: 25
|
||||||
@onSetup: |
|
@onSetup: |
|
||||||
for _, proto in pairs(g_game.getSupportedClients()) do
|
for _, proto in pairs(g_game.getSupportedClients()) do
|
||||||
self:addOption(proto)
|
self:addOption(proto)
|
||||||
|
|
Loading…
Reference in New Issue