tibia-client/modules/game_modaldialog/modaldialog.otui

73 lines
1.4 KiB
Plaintext
Raw Normal View History

ChoiceListLabel < Label
font: verdana-11px-monochrome
background-color: alpha
text-offset: 2 0
focusable: true
$focus:
background-color: #00000055
color: #ffffff
2013-11-18 18:58:15 +01:00
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
2013-11-18 18:58:15 +01:00
ModalDialog < MainWindow
id: modalDialog
2013-11-18 18:58:15 +01:00
size: 280 97
&minimumWidth: 200
&maximumWidth: 600
2013-11-18 18:58:15 +01:00
&minimumChoices: 4
&maximumChoices: 10
Label
id: messageLabel
anchors.top: parent.top
anchors.left: parent.left
text-align: left
2013-11-18 18:58:15 +01:00
text-auto-resize: true
text-wrap: true
ChoiceList
HorizontalSeparator
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: next.top
2013-11-18 18:58:15 +01:00
Panel
id: buttonsPanel
2013-11-18 18:58:15 +01:00
anchors.left: parent.left
anchors.right: parent.right
2013-11-18 18:58:15 +01:00
anchors.bottom: parent.bottom
height: 24
layout: horizontalBox
align-right: true
ChoiceScrollBar