mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 06:23:26 +02:00
new layout system, new UI state/styles system
This commit is contained in:
34
modules/mainmenu/ui/charlist.otui
Normal file
34
modules/mainmenu/ui/charlist.otui
Normal file
@@ -0,0 +1,34 @@
|
||||
MainWindow
|
||||
id: charactersWindow
|
||||
title: Charlist
|
||||
size: 200 250
|
||||
|
||||
TextList
|
||||
id: charactersList
|
||||
anchors.fill: parent
|
||||
margin.top: 30
|
||||
margin.bottom: 50
|
||||
margin.left: 16
|
||||
margin.right: 16
|
||||
|
||||
Button
|
||||
id: buttonOk
|
||||
text: Ok
|
||||
width: 64
|
||||
anchors.right: next.left
|
||||
anchors.bottom: parent.bottom
|
||||
margin.bottom: 16
|
||||
margin.right: 16
|
||||
|
||||
Button
|
||||
id: buttonCancel
|
||||
text: Cancel
|
||||
width: 64
|
||||
anchors.right: parent.right
|
||||
anchors.bottom: parent.bottom
|
||||
margin.bottom: 16
|
||||
margin.right: 16
|
||||
onClick: |
|
||||
function(self)
|
||||
self:getParent():destroy()
|
||||
end
|
Reference in New Issue
Block a user