js: Set BoxLayout orientation

Use new `orientation` property instead of `vertical`.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3614>
This commit is contained in:
Florian Müllner
2025-01-27 13:33:57 +01:00
parent 01541929eb
commit b75b4abaf0
34 changed files with 136 additions and 94 deletions

View File

@ -610,7 +610,7 @@ var BaseAppView = GObject.registerClass({
scrollContainer._delegate = this;
this._box = new St.BoxLayout({
vertical: true,
orientation: Clutter.Orientation.VERTICAL,
x_expand: true,
y_expand: true,
});
@ -2527,7 +2527,7 @@ export const AppFolderDialog = GObject.registerClass({
y_expand: true,
x_align: Clutter.ActorAlign.CENTER,
y_align: Clutter.ActorAlign.CENTER,
vertical: true,
orientation: Clutter.Orientation.VERTICAL,
});
this.child = new St.Bin({