✨ ags(apps-window): add placeholder text to search entry
This commit is contained in:
@@ -27,6 +27,7 @@ export const AppsWindow = (mon: number): (Widget.Window) => {
|
|||||||
const entry = new Widget.Entry({
|
const entry = new Widget.Entry({
|
||||||
className: "entry",
|
className: "entry",
|
||||||
halign: Gtk.Align.CENTER,
|
halign: Gtk.Align.CENTER,
|
||||||
|
placeholderText: "Start typing...",
|
||||||
primary_icon_name: "system-search",
|
primary_icon_name: "system-search",
|
||||||
onChanged: (entry) => searchString.set(entry.text),
|
onChanged: (entry) => searchString.set(entry.text),
|
||||||
onActivate: () => flowbox.get_selected_children()?.[0]?.get_child()?.activate()
|
onActivate: () => flowbox.get_selected_children()?.[0]?.get_child()?.activate()
|
||||||
|
|||||||
Reference in New Issue
Block a user