You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating horizontal layouts where some elements are aligned to the left, some to the center and some to the right requires a decent amount of boilerplate and can be fairly challenging to figure out, especially for Flow developers unused to html/css based layouting. Using HorizontalLayout this currently requires either creating sub-layouts for each alignment, or setting margin:auto on the correct elements.
Describe the solution you'd like
An intuitive model for horizontally aligning elements in a HorizontalLayout, based on separate slots for left, center and right aligned elements, based on two new slots in HorizontalLayout: center and end.
Describe your motivation
Creating horizontal layouts where some elements are aligned to the left, some to the center and some to the right requires a decent amount of boilerplate and can be fairly challenging to figure out, especially for Flow developers unused to html/css based layouting. Using HorizontalLayout this currently requires either creating sub-layouts for each alignment, or setting
margin:auto
on the correct elements.Describe the solution you'd like
An intuitive model for horizontally aligning elements in a HorizontalLayout, based on separate slots for left, center and right aligned elements, based on two new slots in HorizontalLayout:
center
andend
.PoC: https://codepen.io/rsmeds/pen/dygYExp
Acceptance Criteria: vaadin/platform#5038
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: