c04289853f
Avoid setting the width of the overlay title ourselves to keep the default width of -1, this way StLabel will change its width by itself as soon as the text is updated. The width only needs to be changed if the window title changes, and we don't animate it in this case anyway so there's no need to pass a width to _animateOverlayActor(). Setting the title width to the preferred width on relayout is impossible because get_preferred_width() will always return the width we set the label to before. If the width is not set to -1, there's no way to get the new preferred width without calculating it ourselves from the underlying ClutterText instance. https://bugzilla.gnome.org/show_bug.cgi?id=787260 |
||
---|---|---|
.. | ||
extensionPrefs | ||
gdm | ||
misc | ||
perf | ||
portalHelper | ||
ui | ||
js-resources.gresource.xml | ||
meson.build |