Search code examples
javacomponentspositionvaadincaption

Specify component caption position?


I've been wondering. Using Vaadin, is there a way to specify where the caption of a component should appear in regards to the component main object (eg. Select, TextField, etc..).

I'm trying to get the caption of a Select to be displayed in front of the Select object. By default the caption is displayed on top of the object.

It would be neat if I could specify where the caption should be displayed and without having to add a Label and the Select component into a HorizontalLayout to get it the way I want.

Anyone have any suggestions? =)


Solution

  • IkarusAbsoluteLayout in IkarusWidget addon does exactly this behaviour.