Launcher: margin tweaks suggested by Slawek
Use a margin on all the vertical scrolled lists, for text readability https://sourceforge.net/p/flightgear/codetickets/2268/
This commit is contained in:
parent
c07a4c2df9
commit
b85f2aba5c
2 changed files with 6 additions and 3 deletions
|
@ -13,7 +13,9 @@ Item {
|
||||||
contentHeight: sectionColumn.childrenRect.height
|
contentHeight: sectionColumn.childrenRect.height
|
||||||
flickableDirection: Flickable.VerticalFlick
|
flickableDirection: Flickable.VerticalFlick
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
anchors.leftMargin: Style.margin
|
||||||
|
anchors.rightMargin: Style.margin
|
||||||
|
|
||||||
Column
|
Column
|
||||||
{
|
{
|
||||||
id: sectionColumn
|
id: sectionColumn
|
||||||
|
|
|
@ -28,8 +28,9 @@ Item {
|
||||||
contentHeight: sectionColumn.childrenRect.height
|
contentHeight: sectionColumn.childrenRect.height
|
||||||
flickableDirection: Flickable.VerticalFlick
|
flickableDirection: Flickable.VerticalFlick
|
||||||
height: parent.height
|
height: parent.height
|
||||||
width: parent.width
|
width: parent.width - Style.margin * 2
|
||||||
|
x: Style.margin
|
||||||
|
|
||||||
ScrollBar.vertical: ScrollBar {}
|
ScrollBar.vertical: ScrollBar {}
|
||||||
|
|
||||||
Column
|
Column
|
||||||
|
|
Loading…
Reference in a new issue