lookingGlass: Set expand of DebugFlags children

Since commit c290a38730eb2a, St.Bin respects the child's
expand properties instead of basing expansion on the
alignment.

Commit b02800f8 updated a number of callers to prepare for the
change, but the "Flags" tab in looking glass was missed.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3060>
This commit is contained in:
Florian Müllner 2023-12-15 20:54:00 +01:00
parent c290a38730
commit 38d9026bc7

View File

@ -1067,7 +1067,7 @@ const DebugFlag = GObject.registerClass({
GTypeFlags: GObject.TypeFlags.ABSTRACT, GTypeFlags: GObject.TypeFlags.ABSTRACT,
}, class DebugFlag extends St.Button { }, class DebugFlag extends St.Button {
_init(label) { _init(label) {
const box = new St.BoxLayout(); const box = new St.BoxLayout({x_expand: true});
const flagLabel = new St.Label({ const flagLabel = new St.Label({
text: label, text: label,