java - how to build a textfield with caption and text area in the same line Vaadin -


i implementing text field user data (new vaadin)

when initialize textfield using

 new textfield("caption");  

i using reindeer theme how can text field :

caption: textarea //same line 

instead of

caption: //different lines textarea 

should override default css , how it?????
or there method availble this??????

you have use formlayout.

formlayout fl = new formlayout(); textfield tf = new textfield("caption");  fl.addcomponent(tf); 

more information in vaadin book here.


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -