Is there a CSS property which acts like android XML "wrap content"? -
in particular have gwt project
- textarea element want conform set width , expand as needed bottom.
- listbox element want conform set width , expand vertically show entirety of displayed list item.
those 2 widgets using replaced elements: <textarea>
, <select>
respectively.
- for
textarea
, there's no way make "resize automatically" other listening events , computing new size (there's no need compute new size, can let browser it; see http://phaistonian.pblogs.gr/expanding-textareas-the-easy-and-clean-way.html) - for
listbox
, it's impossible have items' text wrap. see word wrap options in select list similar question in pure js.
Comments
Post a Comment