appDisplay: Remove the top padding from folder app grid

There already is a bottom padding defined for the name container of the
folder, so remove the top padding of the appGrid and make sure we can
show a few more icons inside the folder.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1011
This commit is contained in:
Jonas Dreßler 2020-02-17 14:21:51 +01:00 committed by Florian Müllner
parent 1ec5117715
commit 4490463513

View File

@ -1911,6 +1911,8 @@ var AppFolderDialog = GObject.registerClass({
contentBox.get_width(), contentBox.get_width(),
contentBox.get_height() - entryBoxHeight - spacing); contentBox.get_height() - entryBoxHeight - spacing);
this._view._grid.topPadding = 0;
super.vfunc_allocate(box, flags); super.vfunc_allocate(box, flags);
// We can only start zooming after receiving an allocation // We can only start zooming after receiving an allocation