Commit b980f0cf authored by Marco Martin's avatar Marco Martin

smaller tab icons, dont touch the time

parent 24dc96ad
...@@ -71,6 +71,7 @@ Rectangle { ...@@ -71,6 +71,7 @@ Rectangle {
} }
ColumnLayout { ColumnLayout {
height: Math.min(implicitHeight, (plasmoid.availableScreenRect.y + plasmoid.availableScreenRect.height) - Qt.inputMethod.keyboardRectangle.y)
anchors { anchors {
left: parent.left left: parent.left
right: parent.right right: parent.right
...@@ -89,19 +90,22 @@ Rectangle { ...@@ -89,19 +90,22 @@ Rectangle {
placeholderText: "Search ..." placeholderText: "Search ..."
} }
Milou.ResultsView { PlasmaExtras.ScrollArea {
id: listView visible: listView.count > 0
queryString: queryField.text
visible: count > 0
Layout.fillWidth: true Layout.fillWidth: true
Layout.fillHeight: true
Layout.preferredHeight: listView.contentHeight Layout.preferredHeight: listView.contentHeight
Layout.alignment: Qt.AlignTop Layout.alignment: Qt.AlignTop
onActivated: queryField.text = "" Milou.ResultsView {
onUpdateQueryString: { id: listView
queryField.text = text queryString: queryField.text
queryField.cursorPosition = cursorPosition
onActivated: queryField.text = ""
onUpdateQueryString: {
queryField.text = text
queryField.cursorPosition = cursorPosition
}
} }
} }
......
...@@ -173,8 +173,9 @@ PlasmaCore.ColorScope { ...@@ -173,8 +173,9 @@ PlasmaCore.ColorScope {
anchors { anchors {
bottom: parent.bottom bottom: parent.bottom
right: parent.right right: parent.right
bottomMargin: slidingPanel.visible ? parent.height : 0
} }
height: slidingPanel.visible ? units.iconSizes.huge : parent.height height: slidingPanel.visible ? units.iconSizes.large : parent.height
Behavior on height { Behavior on height {
PropertyAnimation { PropertyAnimation {
duration: units.longDuration duration: units.longDuration
...@@ -223,7 +224,7 @@ PlasmaCore.ColorScope { ...@@ -223,7 +224,7 @@ PlasmaCore.ColorScope {
id: appletsStack id: appletsStack
anchors { anchors {
fill: parent fill: parent
bottomMargin: units.iconSizes.huge bottomMargin: units.iconSizes.large
} }
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment