Browse Source

Scrolling not going al the way to bottom

QGC4.4
Don Gagne 9 years ago
parent
commit
cc79fff079
  1. 8
      src/ui/preferences/MockLink.qml

8
src/ui/preferences/MockLink.qml

@ -32,17 +32,19 @@ Rectangle {
color: qgcPal.window color: qgcPal.window
anchors.fill: parent anchors.fill: parent
readonly property real _margins: ScreenTools.defaultFontPixelHeight
QGCPalette { id: qgcPal; colorGroupEnabled: true } QGCPalette { id: qgcPal; colorGroupEnabled: true }
QGCFlickable { QGCFlickable {
anchors.fill: parent anchors.fill: parent
contentWidth: column.width contentWidth: column.width + (_margins * 2)
contentHeight: column.height contentHeight: column.height + (_margins * 2)
clip: true clip: true
Column { Column {
id: column id: column
anchors.margins: ScreenTools.defaultFontPixelHeight anchors.margins: _margins
anchors.left: parent.left anchors.left: parent.left
anchors.top: parent.top anchors.top: parent.top
spacing: ScreenTools.defaultFontPixelHeight spacing: ScreenTools.defaultFontPixelHeight

Loading…
Cancel
Save