[gnome-shell] appDisplay/baseAppView: Also consider its own content box when adapting
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] appDisplay/baseAppView: Also consider its own content box when adapting
- Date: Thu, 3 Dec 2020 18:30:17 +0000 (UTC)
commit 9c10c34b0717423753b553aac1d508bb8522fc52
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Dec 3 13:01:29 2020 -0300
appDisplay/baseAppView: Also consider its own content box when adapting
Otherwise setting margins and paddings from CSS may result in the grid
being adapted to the wrong size.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1519>
js/ui/appDisplay.js | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index d1af384d17..2f82b97f40 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -848,6 +848,7 @@ var BaseAppView = GObject.registerClass({
x2: width,
y2: height,
});
+ box = this.get_theme_node().get_content_box(box);
box = this._scrollView.get_theme_node().get_content_box(box);
box = this._grid.get_theme_node().get_content_box(box);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]