mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-18 00:03:26 +02:00
fix items, map, protocls
This commit is contained in:
74
800OTClient/modules/game_modaldialog/modaldialog.otui
Normal file
74
800OTClient/modules/game_modaldialog/modaldialog.otui
Normal file
@@ -0,0 +1,74 @@
|
||||
ChoiceListLabel < Label
|
||||
font: verdana-11px-monochrome
|
||||
background-color: alpha
|
||||
text-offset: 2 0
|
||||
focusable: true
|
||||
|
||||
$focus:
|
||||
background-color: #00000055
|
||||
color: #ffffff
|
||||
|
||||
ChoiceList < TextList
|
||||
id: choiceList
|
||||
vertical-scrollbar: choiceScrollBar
|
||||
anchors.fill: parent
|
||||
anchors.top: prev.bottom
|
||||
anchors.bottom: next.top
|
||||
margin-top: 4
|
||||
margin-bottom: 10
|
||||
focusable: false
|
||||
visible: false
|
||||
|
||||
ChoiceScrollBar < VerticalScrollBar
|
||||
id: choiceScrollBar
|
||||
anchors.top: choiceList.top
|
||||
anchors.bottom: choiceList.bottom
|
||||
anchors.right: choiceList.right
|
||||
step: 14
|
||||
pixels-scroll: true
|
||||
visible: false
|
||||
|
||||
ModalButton < Button
|
||||
text-auto-resize: true
|
||||
margin-top: 2
|
||||
margin-bottom: 2
|
||||
margin-left: 2
|
||||
|
||||
$pressed:
|
||||
text-offset: 0 0
|
||||
|
||||
ModalDialog < MainWindow
|
||||
id: modalDialog
|
||||
size: 280 97
|
||||
&minimumWidth: 300
|
||||
&maximumWidth: 600
|
||||
&minimumChoices: 4
|
||||
&maximumChoices: 10
|
||||
|
||||
Label
|
||||
id: messageLabel
|
||||
anchors.top: parent.top
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
text-align: left
|
||||
text-auto-resize: true
|
||||
text-wrap: true
|
||||
|
||||
ChoiceList
|
||||
|
||||
HorizontalSeparator
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.bottom: next.top
|
||||
margin-bottom: 5
|
||||
|
||||
Panel
|
||||
id: buttonsPanel
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.bottom: parent.bottom
|
||||
height: 24
|
||||
layout: horizontalBox
|
||||
align-right: true
|
||||
|
||||
ChoiceScrollBar
|
Reference in New Issue
Block a user