From cc79fff0794b84827f3ba10fe1b87fd47355e04f Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Sat, 12 Mar 2016 14:03:34 -0800 Subject: [PATCH] Scrolling not going al the way to bottom --- src/ui/preferences/MockLink.qml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/ui/preferences/MockLink.qml b/src/ui/preferences/MockLink.qml index c6e9aeeae..0f1e4a3ca 100644 --- a/src/ui/preferences/MockLink.qml +++ b/src/ui/preferences/MockLink.qml @@ -32,17 +32,19 @@ Rectangle { color: qgcPal.window anchors.fill: parent + readonly property real _margins: ScreenTools.defaultFontPixelHeight + QGCPalette { id: qgcPal; colorGroupEnabled: true } QGCFlickable { anchors.fill: parent - contentWidth: column.width - contentHeight: column.height + contentWidth: column.width + (_margins * 2) + contentHeight: column.height + (_margins * 2) clip: true Column { id: column - anchors.margins: ScreenTools.defaultFontPixelHeight + anchors.margins: _margins anchors.left: parent.left anchors.top: parent.top spacing: ScreenTools.defaultFontPixelHeight -- 2.22.0