FormLayout: in desktop mode, center and cap width
Left-alignment in Narrow mode is fine on mobile where the views are also really narrow. But in a desktop form factor, typically FormLayout enters narrow mode only because text elements are really long. This is quite common with many languages. When this happens, left-alignment looks pretty ugly.
Instead, center the layout and cap the maximum width, which looks better.
Implements part of teams/vdg/issues#42
| Before | After |
|---|---|
![]() |
![]() |
![]() |
![]() |
How it looks in animated form:
Edited by Nate Graham



