Fix height calculation of flickable content.
authorRuediger Gad <rgad@fb2.fh-frankfurt.de>
Sun, 15 Apr 2012 00:18:31 +0000 (02:18 +0200)
committerRuediger Gad <rgad@fb2.fh-frankfurt.de>
Sun, 15 Apr 2012 00:18:31 +0000 (02:18 +0200)
qml/QZeeControl/KeyBindingSettings.qml

index f75ece9..1529937 100644 (file)
@@ -67,7 +67,7 @@ Sheet {
     content: Flickable{
         anchors.fill: parent
         anchors.margins: 10
-        contentHeight: contentGrid.height
+        contentHeight: contentGrid.height + explanationLabel.height
 
         Grid{
             id: contentGrid
@@ -150,6 +150,7 @@ Sheet {
         }
 
         Label{
+            id: explanationLabel
             anchors{top: contentGrid.bottom; left: parent.left; right: parent.right; margins: 20}
             horizontalAlignment: Text.AlignHCenter
             wrapMode: Text.WordWrap