File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -2742,8 +2742,11 @@ class CinnamonMenuApplet extends Applet.TextIconApplet {
27422742 this . categoriesBox = new St . BoxLayout ( { style_class : 'menu-categories-box' ,
27432743 vertical : true ,
27442744 accessible_role : Atk . Role . LIST } ) ;
2745+ // Add additional box with 0 padding as a workaround to bug github.com/linuxmint/cinnamon/issues/11760
2746+ this . categoriesBugfixBox = new St . BoxLayout ( { style : 'padding: 0px; margin: 0px; spacing: 0px;' } ) ;
2747+ this . categoriesBugfixBox . add_actor ( this . categoriesBox ) ;
27452748 this . categoriesScrollBox = new St . ScrollView ( { style_class : 'vfade menu-applications-scrollbox' } ) ;
2746- this . categoriesScrollBox . add_actor ( this . categoriesBox ) ;
2749+ this . categoriesScrollBox . add_actor ( this . categoriesBugfixBox ) ;
27472750 this . categoriesScrollBox . set_policy ( St . PolicyType . NEVER , St . PolicyType . AUTOMATIC ) ;
27482751 this . categoriesScrollBox . set_clip_to_allocation ( true ) ;
27492752
You can’t perform that action at this time.
0 commit comments