From 5a97bfc8ce9213f73054c3b570cdd1ecabd3df3c Mon Sep 17 00:00:00 2001 From: fredcw Date: Thu, 22 Jun 2023 14:33:07 +0100 Subject: [PATCH] menu applet: fix menu changing size (#11720) Fix menu changing size after reopening. fixes: #11712 --- files/usr/share/cinnamon/applets/menu@cinnamon.org/applet.js | 3 --- .../cinnamon/applets/menu@cinnamon.org/settings-schema.json | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/files/usr/share/cinnamon/applets/menu@cinnamon.org/applet.js b/files/usr/share/cinnamon/applets/menu@cinnamon.org/applet.js index 1241776355..1995d1cd12 100644 --- a/files/usr/share/cinnamon/applets/menu@cinnamon.org/applet.js +++ b/files/usr/share/cinnamon/applets/menu@cinnamon.org/applet.js @@ -1431,9 +1431,6 @@ class CinnamonMenuApplet extends Applet.TextIconApplet { this.main_container.natural_height = (height * global.ui_scale); this.main_container.natural_width = (width * global.ui_scale); - this.menu.actor.set_width(width * global.ui_scale); - this.menu.actor.set_height(height * global.ui_scale); - this._update_scroll_policy(this.favoritesBox, this.favoritesScrollBox); this._update_scroll_policy(this.categoriesBox, this.categoriesScrollBox); diff --git a/files/usr/share/cinnamon/applets/menu@cinnamon.org/settings-schema.json b/files/usr/share/cinnamon/applets/menu@cinnamon.org/settings-schema.json index 1aa26ece26..1b3c9e31d0 100644 --- a/files/usr/share/cinnamon/applets/menu@cinnamon.org/settings-schema.json +++ b/files/usr/share/cinnamon/applets/menu@cinnamon.org/settings-schema.json @@ -192,11 +192,11 @@ }, "popup-width" : { "type" : "generic", - "default" : 650 + "default" : 630 }, "popup-height" : { "type" : "generic", - "default" : 650 + "default" : 615 }, "reset-menu-size-button" : { "type" : "button",