Hi.
I there a better way to pull the ‘default’ width from the Label?
label.setSize( label.getFont().getStringWidth(label.getText()), 20 );
label.setCentreRelative( 0.5f, 0.4f );
Thanks
Hi.
I there a better way to pull the ‘default’ width from the Label?
label.setSize( label.getFont().getStringWidth(label.getText()), 20 );
label.setCentreRelative( 0.5f, 0.4f );
Thanks