refactor(launcher): Optimize component spacing

This commit is contained in:
tux
2025-09-26 04:41:52 +05:30
parent 65a3a8990c
commit 67e74a741a

View File

@@ -35,9 +35,9 @@ const AppList = () => {
const appList = searchText((text) => apps.fuzzy_query(text)); const appList = searchText((text) => apps.fuzzy_query(text));
return ( return (
<Gtk.ScrolledWindow vexpand heightRequest={500} widthRequest={300}> <Gtk.ScrolledWindow vexpand heightRequest={500} widthRequest={350}>
<box <box
spacing={6} spacing={5}
orientation={Gtk.Orientation.VERTICAL} orientation={Gtk.Orientation.VERTICAL}
cssClasses={["list"]} cssClasses={["list"]}
> >
@@ -75,7 +75,7 @@ export const Launcher = (gdkmonitor: Gdk.Monitor) => {
> >
<Gtk.EventControllerKey onKeyPressed={onKey} /> <Gtk.EventControllerKey onKeyPressed={onKey} />
<box orientation={Gtk.Orientation.VERTICAL} spacing={6}> <box orientation={Gtk.Orientation.VERTICAL} spacing={5}>
<AppSearch /> <AppSearch />
<Gtk.Separator orientation={Gtk.Orientation.HORIZONTAL} /> <Gtk.Separator orientation={Gtk.Orientation.HORIZONTAL} />
<AppList /> <AppList />