1
0
Fork 0

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:
James Turner 2020-06-23 23:20:30 +01:00
parent c07a4c2df9
commit b85f2aba5c
2 changed files with 6 additions and 3 deletions

View file

@ -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

View file

@ -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