How to align label,textfield and button and link to have same baseline.
As you can see on image, baseline is a little off
How to align label,textfield and button and link to have same baseline.
As you can see on image, baseline is a little off
Would it help to set vertical component alignment to be middle?
http://vaadin.com/api/com/vaadin/ui/Layout.AlignmentHandler.html
Yes, it’s a trick. It requires that all fonts are same size, and text is exactly in the middle of component. I can live with that, however, this is what i had in mind.
baseline
Align the baseline of the box with the baseline of the parent box. If the box doesn’t have a baseline, align the bottom margin edge with the parent’s baseline
Why not add alignment for baseline to that class? It is in HTML.
br,
ivan