[notesqml] Don't use a fixed width
This commit is contained in:
parent
c3c845e9d7
commit
6c0fecd40d
@ -32,6 +32,7 @@ Item {
|
|||||||
contentHeight: 800
|
contentHeight: 800
|
||||||
|
|
||||||
ScrollBar.vertical: ScrollBar {
|
ScrollBar.vertical: ScrollBar {
|
||||||
|
id: fscrollbar
|
||||||
width: 10
|
width: 10
|
||||||
policy: ScrollBar.AlwaysOn
|
policy: ScrollBar.AlwaysOn
|
||||||
}
|
}
|
||||||
@ -40,7 +41,7 @@ Item {
|
|||||||
id: intro
|
id: intro
|
||||||
x: 1
|
x: 1
|
||||||
y: 0
|
y: 0
|
||||||
width: 720
|
width: parent.width - fscrollbar.width
|
||||||
font.pointSize: 14
|
font.pointSize: 14
|
||||||
textFormat: Text.RichText
|
textFormat: Text.RichText
|
||||||
antialiasing: true
|
antialiasing: true
|
||||||
|
Loading…
Reference in New Issue
Block a user