layout - Codename one label text wraping -


is there way how wrap text in label multiple rows (using boxlayout y container)? always, text overflow hidden. long text should split 2 or more lines.

i working textarea component , textarea.row set 2 or more. width little bit tricky.

how can set label or textarea width or height?

the label single line label solution based on text area should work fine if doesn't suggest making sure added on edt (you can activate edt violation detection in simulator menu) , if added component after form shown should use revalidate(). there no need define row count.

just completeness here how work:

textarea lbl = new textarea("my long string should break lines because really really long , won't end"); lbl.seteditable(false); lbl.setfocusable(false); lbl.setuiid("label"); 

Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -