[Krunner] HACK: hardcode the right width!

wilder
Jacopo De Simoi 4 years ago
parent a19d8b7156
commit ca0d86bb7f
  1. 7
      krunner/qml/RunCommand.qml

@ -84,8 +84,7 @@ ColumnLayout {
id: queryField id: queryField
property bool allowCompletion: false property bool allowCompletion: false
Layout.minimumWidth: PlasmaCore.Units.gridUnit * 25 Layout.minimumWidth: 818
Layout.maximumWidth: PlasmaCore.Units.gridUnit * 25
activeFocusOnPress: true activeFocusOnPress: true
placeholderText: results.runnerName ? i18nc("Textfield placeholder text, query specific KRunner plugin", placeholderText: results.runnerName ? i18nc("Textfield placeholder text, query specific KRunner plugin",
@ -331,8 +330,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