I am using the new CEF BrowserComponent.
I put it inside a BorderLayout, at the center, so it takes the space 
according to the content (the surrounding form/container have been set 
correctly to allow this layout to happen).
I need to set the height to a certain size, like 200px, or 4 lines of text, 
for example.
If I set the page to an HTML string with text inside, I see the text and no 
scrollbars (that instead appear in other cases), so it seems that the size 
is not as tall as the remaining space. It is good for my layout but I need 
to set the height exactly before there is text inside, and It has not to 
resize automatically.
The setHeight method does not work, not even after the onload event.
Thanks in advance


-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/4de06cf4-456d-4f9f-b983-9962f03aa6a6o%40googlegroups.com.

Reply via email to