mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +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.rightMargin: PlasmaCore.Units.gridUnit
|
||||
|
||||
leftPadding: PlasmaCore.Units.smallSpacing / 2
|
||||
rightPadding: PlasmaCore.Units.smallSpacing / 2
|
||||
topPadding: PlasmaCore.Units.smallSpacing / 2
|
||||
bottomPadding: PlasmaCore.Units.smallSpacing / 2
|
||||
leftPadding: PlasmaCore.Units.smallSpacing
|
||||
rightPadding: PlasmaCore.Units.smallSpacing
|
||||
topPadding: PlasmaCore.Units.smallSpacing
|
||||
bottomPadding: PlasmaCore.Units.smallSpacing
|
||||
|
||||
background: Item {
|
||||
|
||||
|
|
@ -154,16 +154,17 @@ Item {
|
|||
Item {
|
||||
implicitHeight: queryField.height
|
||||
implicitWidth: height
|
||||
Kirigami.Icon {
|
||||
PlasmaCore.IconItem {
|
||||
anchors.fill: parent
|
||||
anchors.margins: Math.round(Kirigami.Units.smallSpacing * 1.5)
|
||||
anchors.margins: Math.round(Kirigami.Units.smallSpacing)
|
||||
source: "start-here-symbolic"
|
||||
}
|
||||
}
|
||||
Kirigami.SearchField {
|
||||
PlasmaComponents.TextField {
|
||||
id: queryField
|
||||
focus: true
|
||||
Layout.fillWidth: true
|
||||
placeholderText: i18n("Search…")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue