js: Replace child properties
Every since commit aa394754
, StBoxLayout has supported ClutterActor's
expand/align properties in addition to the container-specific child
properties. Given that that's the only container left with a special
child meta, it's time to fully embrace the generic properties (and
eventually remove the child meta).
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/780
This commit is contained in:

committed by
Georges Basile Stavracas Neto

parent
4338ca5fd9
commit
104071acbd
@ -56,11 +56,13 @@ class DisplayChangeDialog extends ModalDialog.ModalDialog {
|
||||
let title = _("Do you want to keep these display settings?");
|
||||
let body = this._formatCountDown();
|
||||
|
||||
this._content = new Dialog.MessageDialogContent({ icon, title, body });
|
||||
this._content = new Dialog.MessageDialogContent({
|
||||
icon, title, body,
|
||||
x_expand: true,
|
||||
y_expand: true,
|
||||
});
|
||||
|
||||
this.contentLayout.add(this._content,
|
||||
{ x_fill: true,
|
||||
y_fill: true });
|
||||
this.contentLayout.add_child(this._content);
|
||||
|
||||
/* Translators: this and the following message should be limited in length,
|
||||
to avoid ellipsizing the labels.
|
||||
|
Reference in New Issue
Block a user