gnome-shell/js/gdm
Florian Müllner b191e9ef91 authPrompt: Fix spinner alignment
We want the spinner to be centered with regard to the entry, but
constraining the height breaks that:

 1. clutter_actor_allocate() is called with the available size
 2. clutter_actor_update_constraints() then adjusts that according
    to the constraints
 3. clutter_actor_adjust_allocation() applies the margin/expand/align
    properties.

The issue there is that 2. reduces the allocation to the desired size,
so there is no more extra space to distribute in 3.

We can fix this by either constraining everything (and rely on the
cancel button's alignment) or limit the constraint to the width. The
latter seems more appropriate, given that the constraint is only used
to center the entry horizontally.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2628
2020-04-17 22:35:31 +00:00
..
authPrompt.js authPrompt: Fix spinner alignment 2020-04-17 22:35:31 +00:00
batch.js
fingerprint.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
loginDialog.js js: Add missing chain-ups in vfuncs 2020-03-27 10:39:58 +01:00
oVirt.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
realmd.js
util.js js: Promisify async operations 2020-03-31 05:43:40 +00:00