overviewControls: Add spacing around workspaces and appGrid

Adjust the origin of the appDisplayBox slightly further downwards and
include spacing around the workspaces and the appGrid.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3278>
This commit is contained in:
Jonas Dreßler 2024-05-10 10:18:35 +02:00 committed by Marge Bot
parent 1053b5826a
commit f9e988abcb

View File

@ -120,7 +120,7 @@ class ControlsManagerLayout extends Clutter.LayoutManager {
break;
case ControlsState.APP_GRID:
appDisplayBox.set_origin(0,
startY + searchHeight + this._spacing + appGridBox.get_height());
startY + searchHeight + this._spacing + appGridBox.get_height() + this._spacing);
break;
}
@ -128,7 +128,7 @@ class ControlsManagerLayout extends Clutter.LayoutManager {
height -
searchHeight - this._spacing -
appGridBox.get_height() - this._spacing -
dashHeight);
dashHeight - this._spacing);
return appDisplayBox;
}