Skip to content

Commit

Permalink
fix: make launcher entries expandable
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
garaevdi authored and mmstick committed Apr 4, 2024
1 parent 9418d0a commit cfa0c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit cfa0c55

Please sign in to comment.