From b85f2aba5c0eacb95e0786a0703d07031b10edaf Mon Sep 17 00:00:00 2001 From: James Turner Date: Tue, 23 Jun 2020 23:20:30 +0100 Subject: [PATCH] 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/ --- src/GUI/qml/Environment.qml | 4 +++- src/GUI/qml/Settings.qml | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/GUI/qml/Environment.qml b/src/GUI/qml/Environment.qml index 7adaa404b..804c11c3c 100644 --- a/src/GUI/qml/Environment.qml +++ b/src/GUI/qml/Environment.qml @@ -13,7 +13,9 @@ Item { contentHeight: sectionColumn.childrenRect.height flickableDirection: Flickable.VerticalFlick anchors.fill: parent - + anchors.leftMargin: Style.margin + anchors.rightMargin: Style.margin + Column { id: sectionColumn diff --git a/src/GUI/qml/Settings.qml b/src/GUI/qml/Settings.qml index 7b6f8f126..360e4f825 100644 --- a/src/GUI/qml/Settings.qml +++ b/src/GUI/qml/Settings.qml @@ -28,8 +28,9 @@ Item { contentHeight: sectionColumn.childrenRect.height flickableDirection: Flickable.VerticalFlick height: parent.height - width: parent.width - + width: parent.width - Style.margin * 2 + x: Style.margin + ScrollBar.vertical: ScrollBar {} Column