mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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:
parent
4338ca5fd9
commit
104071acbd
35 changed files with 391 additions and 318 deletions
|
|
@ -106,10 +106,7 @@ class NetworkSecretDialog extends ModalDialog.ModalDialog {
|
|||
descriptionLabel.clutter_text.line_wrap = true;
|
||||
descriptionLabel.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;
|
||||
|
||||
contentBox.messageBox.add(descriptionLabel,
|
||||
{ y_fill: true,
|
||||
y_align: St.Align.START,
|
||||
expand: true });
|
||||
contentBox.messageBox.add_child(descriptionLabel);
|
||||
}
|
||||
|
||||
this._okButton = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue