Hi,

Thank you mr. Shai. The new image shows the buttons centered, but I don't 
understand why not all the images are shown with the same UIID.


My method:
private Button creaBoton(String texto, boolean activa) { String uiid = 
activa ? "Dialog" : "Dialog"; Button btBoton = new Button(texto); 
btBoton.setUIID(uiid); 
btBoton.getAllStyles().setAlignment(Component.CENTER); 
btBoton.setTextPosition(Component.BOTTOM); btBoton.setEnabled(activa); 
return btBoton; }

-- 
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 codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/f0b162d1-b510-4848-8c3e-b5af08d8a26eo%40googlegroups.com.

Reply via email to