Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion files/usr/share/cinnamon/applets/menu@cinnamon.org/applet.js
Original file line number Diff line number Diff line change
Expand Up @@ -2521,8 +2521,12 @@ class CinnamonMenuApplet extends Applet.TextIconApplet {
accessible_role: Atk.Role.LIST
});

// Add additional box with 0 padding as a workaround to bug github.com/linuxmint/cinnamon/issues/11760
this.categoriesBugfixBox = new St.BoxLayout({ style: 'padding: 0px; margin: 0px; spacing: 0px;' });
this.categoriesBugfixBox.add_actor(this.categoriesBox);

this.categoriesScrollView = new St.ScrollView({ style_class: 'appmenu-categories-scrollview' });
this.categoriesScrollView.add_actor(this.categoriesBox);
this.categoriesScrollView.add_actor(this.categoriesBugfixBox);
this.categoriesScrollView.set_policy(St.PolicyType.NEVER, St.PolicyType.AUTOMATIC);
this.categoriesScrollView.set_clip_to_allocation(true);
this.categoriesScrollView.get_vscroll_bar().hide();
Expand Down
Loading