mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 20:14:54 +02:00
Some style fixes & menu-scroll to add server.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
MainWindow
|
||||
id: addServerWindow
|
||||
!text: tr('New Server')
|
||||
size: 180 180
|
||||
size: 180 195
|
||||
visible: false
|
||||
@onEscape: AddServer.hide()
|
||||
@onEnter: AddServer.add()
|
||||
@@ -48,6 +48,9 @@ MainWindow
|
||||
anchors.top: protocolLabel.bottom
|
||||
anchors.left: protocolLabel.left
|
||||
anchors.right: port.right
|
||||
menu-scroll: true
|
||||
menu-height: 125
|
||||
menu-scroll-step: 25
|
||||
@onSetup: |
|
||||
for _, proto in pairs(g_game.getSupportedClients()) do
|
||||
self:addOption(proto)
|
||||
|
Reference in New Issue
Block a user