tibia-client/modules/game_textwindow/textwindow.otui

54 lines
1.1 KiB
Plaintext
Raw Normal View History

TextWindow < MainWindow
id: textWindow
size: 300 280
Item
id: textItem
virtual: true
anchors.top: parent.top
anchors.left: parent.left
Label
id: description
anchors.top: parent.top
anchors.left: textItem.right
anchors.right: parent.right
margin-left: 8
text-auto-resize: true
text-align: left
text-wrap: true
MultilineTextEdit
id: text
anchors.top: textScroll.top
anchors.left: parent.left
anchors.right: textScroll.left
anchors.bottom: textScroll.bottom
vertical-scrollbar: textScroll
text-wrap: true
VerticalScrollBar
2012-09-30 05:16:15 +02:00
id: textScroll
anchors.top: description.bottom
anchors.bottom: okButton.top
anchors.right: parent.right
margin-top: 10
margin-bottom: 10
step: 16
2012-09-30 05:16:15 +02:00
pixels-scroll: true
Button
id: okButton
!text: tr('Ok')
anchors.bottom: parent.bottom
anchors.right: next.left
margin-right: 10
width: 60
Button
id: cancelButton
!text: tr('Cancel')
anchors.bottom: parent.bottom
anchors.right: parent.right
width: 60