Hi, how can I center my widget inside Container?
I have a Container with some GameMenuButton and TextEditor.
The Container has .setLayoutManager(new RowLayout(false));
all my widget are aligned on the left, how can I center it? I've not found anything! thanks!
I've tryed to make different container and use StaticLayout to center, but nothing…they rest aligned on the left
here is my code, where "c" is the container:
c.removeAllWidgets();
c.setLayoutManager(new RowLayout(false));
c.addWidget(userLabel);
c.addWidget(username);
c.addWidget(passLabel);
c.addWidget(password);
c.addWidget(errLabel);
c.addWidget(done);
c.addWidget(back);
thanks...
Check out the getAlignment method, think it is in getAppearance() from the container or widget
Also - do check out the fenggui forum
Thanks very much