From 23755728e17e6ddb2fe22ca9679a14e426c1b86c Mon Sep 17 00:00:00 2001 From: Jacopo De Simoi Date: Sat, 19 Jun 2021 09:22:49 -0400 Subject: [PATCH] [Krunner] HACK: hardcode the right width! --- lookandfeel/contents/runcommand/RunCommand.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lookandfeel/contents/runcommand/RunCommand.qml b/lookandfeel/contents/runcommand/RunCommand.qml index a5cfd1469..43daf822d 100644 --- a/lookandfeel/contents/runcommand/RunCommand.qml +++ b/lookandfeel/contents/runcommand/RunCommand.qml @@ -95,8 +95,8 @@ ColumnLayout { property bool allowCompletion: false clearButtonShown: true - Layout.minimumWidth: PlasmaCore.Units.gridUnit * 25 - Layout.maximumWidth: PlasmaCore.Units.gridUnit * 25 + Layout.minimumWidth: 818 + Layout.maximumWidth: 818 activeFocusOnPress: true placeholderText: results.runnerName ? i18ndc("plasma_lookandfeel_org.kde.lookandfeel", @@ -307,8 +307,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) {