Fix app-menu cuts application names
Daniel Ruiz de AlegrÃa
2 years ago
8 | 8 | 1 file changed, 130 insertions(+), 33 deletions(-) |
9 | 9 | |
10 | 10 | diff --git a/extensions/apps-menu/extension.js b/extensions/apps-menu/extension.js |
11 | index 2cbb754..ce96b6d 100644 | |
11 | index 2cbb754..df0571c 100644 | |
12 | 12 | --- a/extensions/apps-menu/extension.js |
13 | 13 | +++ b/extensions/apps-menu/extension.js |
14 | 14 | @@ -96,30 +96,36 @@ class ApplicationMenuItem extends PopupMenu.PopupBaseMenuItem { |
240 | 240 | this._applicationsButtons.clear(); |
241 | 241 | - this.mainBox.style = 'width: 35em;'; |
242 | 242 | - this.mainBox.hide(); |
243 | + this.mainBox.actor.style = 'width: 35em;'; | |
243 | + this.applicationsScrollBox.actor.style = 'width: 22em;' | |
244 | 244 | + this.mainBox.actor.hide(); |
245 | 245 | |
246 | 246 | // Load categories |
280 | 280 | let height = Math.round(categoriesHeight) + MENU_HEIGHT_OFFSET; |
281 | 281 | - this.mainBox.style += `height: ${height}px`; |
282 | 282 | + this.mainBox.actor.style += `height: ${height}px`; |
283 | + this.categoriesBox.box.width = 300; | |
283 | + //this.categoriesBox.box.width = 300; | |
284 | 284 | } |
285 | 285 | |
286 | 286 | selectCategory(dir) { |