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

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

python - Django-easy-pdf: xhtml2pdf reporting reportlab 2.2+ is required, but 3.0 installed -

collision detection - C++ library for mesh to mesh intersection: what is available? -