Vertical alignment

Hi,

Is there a way to align label and text_box vertically? At the moment, it doesn’t look good
Any hint is really appreciated.

image

In the absence of an explicit group-alignment setting, I usually tweak these
image
until things look about right.

@p.colbert, thanks for the tip, it is quite tricky.

At the moment, I use 2 text_box components and disable one, but there is a line below. I am not very good at CSS so not too sure how to remove it.

Hi @Tony.Nguyen,

In the Material Design theme, there’s a role for Labels called input-prompt, which lines Labels up vertically with TextBoxes/DropDowns/etc.

4 Likes

It works, thanks @meredydd

image