0

I have OptionGroup component and many checkboxes in there. I want to change width (or another css property) on only one checkbox.

Is it possible to do that?

IAmInPLS
  • 4,051
  • 4
  • 24
  • 57
xorgx3
  • 473
  • 1
  • 6
  • 14

1 Answers1

0

It seems to be not possible with the current Vaadin API (7.6.6) but there is an add-on FlexibleOptionGroup which supports individual items. If your item in the OptionGroup is at a fixed position, you could use n-th element selector of CSS to change its style. The Valo theme demo shows an OptionGroup with explicit width, maybe this fits in your case.

Steffen Harbich
  • 2,639
  • 2
  • 37
  • 71