Textwindow.otui update for scrollbars
This commit is contained in:
parent
9650179ae8
commit
d902a13e1c
|
@ -1,3 +1,5 @@
|
||||||
|
TextScrollbar < VerticalScrollBar
|
||||||
|
|
||||||
TextWindow < MainWindow
|
TextWindow < MainWindow
|
||||||
id: textWindow
|
id: textWindow
|
||||||
size: 280 280
|
size: 280 280
|
||||||
|
@ -24,9 +26,21 @@ TextWindow < MainWindow
|
||||||
id: text
|
id: text
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.top: textItem.bottom
|
anchors.top: textItem.bottom
|
||||||
|
margin-right: 10
|
||||||
margin-top: 30
|
margin-top: 30
|
||||||
margin-bottom: 30
|
margin-bottom: 30
|
||||||
|
|
||||||
|
TextScrollbar
|
||||||
|
id: textScroll
|
||||||
|
anchors.left: prev.right
|
||||||
|
anchors.top: prev.top
|
||||||
|
anchors.bottom: prev.bottom
|
||||||
|
minimum: 0
|
||||||
|
maximum: 0
|
||||||
|
step: 1
|
||||||
|
value: 0
|
||||||
|
pixels-scroll: true
|
||||||
|
|
||||||
Button
|
Button
|
||||||
id: cancelButton
|
id: cancelButton
|
||||||
!text: tr('Cancel')
|
!text: tr('Cancel')
|
||||||
|
@ -42,4 +56,4 @@ TextWindow < MainWindow
|
||||||
anchors.top: text.bottom
|
anchors.top: text.bottom
|
||||||
anchors.right: text.right
|
anchors.right: text.right
|
||||||
margin-top: 10
|
margin-top: 10
|
||||||
width: 60
|
width: 60
|
Loading…
Reference in New Issue