Commit f2e0bdf5 authored by Kåre Särs's avatar Kåre Särs Committed by Christoph Cullmann
Browse files

Resize the Kate Session-Applet

Before this change there where only 4 fully visible items in the menu.
This makes visually searching very difficult as you need to scroll.

This change reduces the height of the menu items a tiny bit and
increases the height of the menu to match the height of the
Systemtray-menu. (Still smaller than the application menu/launcher)

(+ a binding loop fix)
parent 43dd3df3
Pipeline #137367 passed with stage
in 5 minutes and 34 seconds
......@@ -26,7 +26,7 @@ PlasmaComponents.ListItem {
property bool showInput: false
height: Math.max(Math.max(label.height, toolButtonsLayout.implicitHeight), sessionnameditlayout.implicitHeight) + 2 * PlasmaCore.Units.smallSpacing
height: Math.max(Math.max(label.height, toolButtonsLayout.implicitHeight), sessionnameditlayout.implicitHeight) + PlasmaCore.Units.smallSpacing
MouseArea {
anchors.fill: parent
......@@ -44,7 +44,7 @@ PlasmaComponents.ListItem {
Item {
id: label
height: childrenRect.height
height: iconItem.height
anchors {
left: parent.left
leftMargin: PlasmaCore.Units.smallSpacing
......@@ -53,7 +53,6 @@ PlasmaComponents.ListItem {
}
PlasmaComponents3.Label {
height: implicitHeight
anchors {
left: parent.left
right: parent.right
......@@ -69,12 +68,11 @@ PlasmaComponents.ListItem {
}
PlasmaCore.IconItem {
id: iconItem
width: PlasmaCore.Units.iconSizes.small
height: width
anchors.verticalCenter: parent.verticalCenter
source: DecorationRole
enabled: true
visible: true
}
}
......
......@@ -49,7 +49,6 @@ Item {
operation.sessionName = sessionName;
return service.startOperationCall(operation);
}
}
property var searchHeader: PlasmaExtras.PlasmoidHeading {
......@@ -64,8 +63,8 @@ Item {
Plasmoid.fullRepresentation: PlasmaComponents3.Page {
id: dialogItem
Layout.minimumWidth: PlasmaCore.Units.gridUnit * 12
Layout.minimumHeight: PlasmaCore.Units.gridUnit * 12
Layout.minimumWidth: PlasmaCore.Units.gridUnit * 16
Layout.minimumHeight: PlasmaCore.Units.gridUnit * 24
focus: true
header: searchHeader
......
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