All buttons the same size?

Hello, how can i do all buttons in the same size? now i am doing like this: bLogin.setWidth(80, Unit.PIXELS); bRegister.setWidth(80, Unit.PIXELS);

You can use either CSS or then the more simple way of setExpandRatio().

Put your buttons e.g. in a layout and the for each button you call

layout.setExpandRatio(button1, 1.0f);
layout.setExpandRatio(button2, 1.0f);
etc

This should make the components expand to be equally sized if the expand ratio is the same.