From cfa0c55e84b7ce339e5ce83832f76fee17e99d51 Mon Sep 17 00:00:00 2001 From: Denis Garaev Date: Fri, 29 Mar 2024 18:44:25 +0300 Subject: [PATCH] fix: make launcher entries expandable Can't really tell why this broke. At first I thought this was due to changes of `St.Bin` default expand properties, but `St.BoxLayout` isn't descendant of it. Setting `x_expand` on the button itself didn't fix this. --- src/search.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.ts b/src/search.ts index 416059f3..0d7a45f0 100644 --- a/src/search.ts +++ b/src/search.ts @@ -429,7 +429,7 @@ export class SearchOption { this.exec = exec; this.keywords = keywords; - const layout = new St.BoxLayout({}); + const layout = new St.BoxLayout({ x_expand: true }); attach_icon(layout, category_icon, icon_size / 2);