Hi there,
I need a simple example to show own html-pages in a container or as
Component (without Scrollbars on the sides like see screenshot).
I use the following snippet:..
...
BrowserComponent wb = new BrowserComponent();
wb.setURL("jar:///sample.html");
Container con = new Container(new BoxLayout(BoxLayout.Y_AXIS));
con.setScrollableY(true);
con.addComponent(wb);
...
and I get this strechted result:
<https://lh3.googleusercontent.com/-C_-l0e94n2g/WdNqnTpnYXI/AAAAAAAAAAc/Os0LgtQDZqg9AJCpnCrBIrY2ADN65GWegCLcBGAs/s1600/samplePic.JPG>
<https://lh3.googleusercontent.com/-C_-l0e94n2g/WdNqnTpnYXI/AAAAAAAAAAc/Os0LgtQDZqg9AJCpnCrBIrY2ADN65GWegCLcBGAs/s1600/samplePic.JPG>
I would use the html-pages like a default Container with Labels and so on.
Later I would try to modify this pages by tag-id's. Is there an example or
hints?
Can anybody help me?
--
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].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/c266cd8d-b7a2-495b-a436-2ad4e43f4a7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.