[Sailfish] proper height for the Drawer

This commit is contained in:
Hauke Schade 2016-07-05 18:22:20 +02:00
parent b1f160f4f5
commit 386853f89c

View file

@ -47,7 +47,9 @@ Page {
background: SilicaFlickable { background: SilicaFlickable {
id: drawerView id: drawerView
anchors.fill: parent anchors.fill: parent
contentHeight: selectionModeActive ? 250 : Theme.itemSizeSmall contentHeight: selectionModeActive
? Theme.itemSizeSmall + Theme.itemSizeMedium + Theme.itemSizeExtraSmall
: Theme.itemSizeSmall
clip: true clip: true
Column { Column {
@ -76,7 +78,7 @@ Page {
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
color: Theme.highlightColor color: Theme.highlightColor
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
font.pixelSize: Theme.fontSizeExtraLarge font.pixelSize: Theme.fontSizeLarge
text: qsTr("%1 selected").arg(feedItemModel.selectedItems) text: qsTr("%1 selected").arg(feedItemModel.selectedItems)
} }