Skip to content

Commit

Permalink
GWL: Set reasonable min width for panel item in case app icon is miss…
Browse files Browse the repository at this point in the history
…ing...

Fixes: linuxmint#12307
  • Loading branch information
fredcw authored Aug 6, 2024
1 parent ae679ce commit 0718db4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ class AppGroup {
const [labelMinSize, labelNaturalSize] = this.label.get_preferred_width(forHeight);
// The label text starts in the center of the icon, so we should allocate the space
// needed for the icon plus the space needed for(label - icon/2)
alloc.min_size = 1 * global.ui_scale;
alloc.min_size = this.iconSize * global.ui_scale;

const {appId} = this.groupState;

Expand Down

0 comments on commit 0718db4

Please sign in to comment.