https://bugs.kde.org/show_bug.cgi?id=365295

--- Comment #13 from David Edmundson <k...@davidedmundson.co.uk> ---
that would break the case of the buttons being taller than the font.

Can you try:

diff --git a/desktoppackage/contents/explorer/WidgetExplorer.qml
b/desktoppackage/contents/explorer/WidgetExplorer.qml
index b8761b4..41b1baf 100644
--- a/desktoppackage/contents/explorer/WidgetExplorer.qml
+++ b/desktoppackage/contents/explorer/WidgetExplorer.qml
@@ -105,7 +105,7 @@ Item {

     Action {
         shortcut: "Up"
-        onTriggered: list.currentIndex = (list.count + list.currentIndex - 1)
% list.count 
+        onTriggered: list.currentIndex = (list.count + list.currentIndex - 1)
% list.count
     }

     Action {
@@ -207,11 +207,11 @@ Item {
             id: header
             property bool showingSearch: false
             Layout.fillWidth: true
-            Layout.minimumHeight: Math.max(heading.height, searchInput.height)
+            Layout.minimumHeight: Math.max(heading.implicitHeight,
searchInput.implicitHeight)
             Layout.alignment: Qt.AlignVCenter
             PlasmaExtras.Title {
                 id: heading
-                anchors.verticalCenter: parent.verticalCenter
+                Layout.alignment: Qt.AlignVCenter
                 text: i18nd("plasma_shell_org.kde.plasma.desktop", "Widgets")
                 width: parent.width
                 elide: Text.ElideRight
@@ -221,7 +221,7 @@ Item {
                 id: searchInput
                 width: parent.width
                 clearButtonShown: true
-                anchors.verticalCenter: parent.verticalCenter
+                Layout.alignment: Qt.AlignVCenter
                 placeholderText: i18nd("plasma_shell_org.kde.plasma.desktop",
"Search...")
                 onTextChanged: {
                     list.positionViewAtBeginning()

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to