From ca0d86bb7f4999d9dacf71e92b4ad97c7bb2e1ff Mon Sep 17 00:00:00 2001 From: Jacopo De Simoi Date: Fri, 16 Sep 2022 18:08:49 -0400 Subject: [PATCH] [Krunner] HACK: hardcode the right width! --- krunner/qml/RunCommand.qml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/krunner/qml/RunCommand.qml b/krunner/qml/RunCommand.qml index e82705b6b..0ef4adcc8 100644 --- a/krunner/qml/RunCommand.qml +++ b/krunner/qml/RunCommand.qml @@ -84,8 +84,7 @@ ColumnLayout { id: queryField property bool allowCompletion: false - Layout.minimumWidth: PlasmaCore.Units.gridUnit * 25 - Layout.maximumWidth: PlasmaCore.Units.gridUnit * 25 + Layout.minimumWidth: 818 activeFocusOnPress: true placeholderText: results.runnerName ? i18nc("Textfield placeholder text, query specific KRunner plugin", @@ -331,8 +330,8 @@ ColumnLayout { currentIndex = 0; } } - Keys.onReturnPressed: runCurrentIndex(event) - Keys.onEnterPressed: runCurrentIndex(event) + Keys.onReturnPressed: runCurrentIndex() + Keys.onEnterPressed: runCurrentIndex() Keys.onTabPressed: { if (currentIndex == listView.count-1) {