mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-02 01:34:46 +00:00
widgets/krunner: Ensure plasma style is being followed
This commit is contained in:
parent
f97173117c
commit
f7554adf8f
1 changed files with 8 additions and 7 deletions
|
|
@ -126,10 +126,10 @@ Item {
|
||||||
Layout.leftMargin: PlasmaCore.Units.gridUnit
|
Layout.leftMargin: PlasmaCore.Units.gridUnit
|
||||||
Layout.rightMargin: PlasmaCore.Units.gridUnit
|
Layout.rightMargin: PlasmaCore.Units.gridUnit
|
||||||
|
|
||||||
leftPadding: PlasmaCore.Units.smallSpacing / 2
|
leftPadding: PlasmaCore.Units.smallSpacing
|
||||||
rightPadding: PlasmaCore.Units.smallSpacing / 2
|
rightPadding: PlasmaCore.Units.smallSpacing
|
||||||
topPadding: PlasmaCore.Units.smallSpacing / 2
|
topPadding: PlasmaCore.Units.smallSpacing
|
||||||
bottomPadding: PlasmaCore.Units.smallSpacing / 2
|
bottomPadding: PlasmaCore.Units.smallSpacing
|
||||||
|
|
||||||
background: Item {
|
background: Item {
|
||||||
|
|
||||||
|
|
@ -154,16 +154,17 @@ Item {
|
||||||
Item {
|
Item {
|
||||||
implicitHeight: queryField.height
|
implicitHeight: queryField.height
|
||||||
implicitWidth: height
|
implicitWidth: height
|
||||||
Kirigami.Icon {
|
PlasmaCore.IconItem {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.margins: Math.round(Kirigami.Units.smallSpacing * 1.5)
|
anchors.margins: Math.round(Kirigami.Units.smallSpacing)
|
||||||
source: "start-here-symbolic"
|
source: "start-here-symbolic"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Kirigami.SearchField {
|
PlasmaComponents.TextField {
|
||||||
id: queryField
|
id: queryField
|
||||||
focus: true
|
focus: true
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
placeholderText: i18n("Search…")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue