you need to use the second constructor in order to use the
private void initGuiBuilderComponents(com.codename1.ui.util.Resources
resourceObjectInstance)
procedure which contains all the generated code
private void initGuiBuilderComponents(com.codename1.ui.util.Resources
resourceObjectInstance) {
setLayout(new com.codename1.ui.layouts.LayeredLayout());
setInlineStylesTheme(resourceObjectInstance);
setScrollableY(false);
setInlineStylesTheme(resourceObjectInstance);
setTitle("MyForm5");
setName("MyForm5");
addComponent(gui_Label);
addComponent(gui_Radio_Button);
addComponent(gui_Button_1);
gui_Label.setText("my hello world");
gui_Label.setUIID("Label5");
gui_Label.setInlineStylesTheme(resourceObjectInstance);
gui_Label.setInlineAllStyles("font:6.0mm;");
gui_Label.setName("Label");
etc. which uses
resourceObjectInstance
On Monday, December 9, 2019 at 9:07:14 PM UTC-5, Shai Almog wrote:
>
> You can pass an instance of the Resource class if you wish. If you don't
> we'll implicitly use the default one (see the default empty constructor).
> Resources class includes the content of the .res file which includes the
> images, themes etc.
>
--
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/1d27bcae-094e-4cba-b124-4b2631333eb7%40googlegroups.com.