[Krunner] HACK: hardcode the right width!

wilder-5.22
Jacopo De Simoi 5 years ago
parent e388426069
commit 23755728e1
  1. 8
      lookandfeel/contents/runcommand/RunCommand.qml

@ -95,8 +95,8 @@ ColumnLayout {
property bool allowCompletion: false property bool allowCompletion: false
clearButtonShown: true clearButtonShown: true
Layout.minimumWidth: PlasmaCore.Units.gridUnit * 25 Layout.minimumWidth: 818
Layout.maximumWidth: PlasmaCore.Units.gridUnit * 25 Layout.maximumWidth: 818
activeFocusOnPress: true activeFocusOnPress: true
placeholderText: results.runnerName ? i18ndc("plasma_lookandfeel_org.kde.lookandfeel", placeholderText: results.runnerName ? i18ndc("plasma_lookandfeel_org.kde.lookandfeel",
@ -307,8 +307,8 @@ ColumnLayout {
currentIndex = 0; currentIndex = 0;
} }
} }
Keys.onReturnPressed: runCurrentIndex(event) Keys.onReturnPressed: runCurrentIndex()
Keys.onEnterPressed: runCurrentIndex(event) Keys.onEnterPressed: runCurrentIndex()
Keys.onTabPressed: { Keys.onTabPressed: {
if (currentIndex == listView.count-1) { if (currentIndex == listView.count-1) {

Loading…
Cancel
Save