vaadin / flow-components

Java counterpart of Vaadin Web Components
81 stars 63 forks source link

RadioButtonGroup Label #6352

Closed allenvpn312 closed 2 weeks ago

allenvpn312 commented 3 weeks ago

Description

Before version 24.3.11, the ratiobuttongroup label alignment defaults to left. With the latest release it appears the default alignment is set to center. Anyway to set default to left alignment?

Expected outcome

image

Expecting label to align left and not center.

Minimal reproducible example

filingType = new RadioButtonGroup<>("Filing Type"); filingType.addThemeVariants(RadioGroupVariant.LUMO_VERTICAL); filingType.setItems(FilingType.values()); filingType.setValue(FilingType.O);

Steps to reproduce

N/A

Environment

Vaadin version(s): 24.3.13 OS: Windows 11

Browsers

No response

allenvpn312 commented 2 weeks ago

Sorry, false alarm. We updated a css property and that was the culprit. Thank you.

DiegoCardoso commented 2 weeks ago

I'm closing this according to the previous comment.