v0.3.4: further layout improvements to wndItem

This commit is contained in:
Evan Debenham
2016-01-24 22:38:38 -05:00
committed by Evan Debenham
parent ddbca97f59
commit 560070fcd0
2 changed files with 8 additions and 5 deletions
@@ -36,9 +36,15 @@ public class RedButton extends Button {
protected Image icon;
public RedButton( String label ) {
this(label, 9);
}
public RedButton( String label, int size ){
super();
text = PixelScene.renderText( size );
text.text( label );
add( text );
}
@Override
@@ -47,9 +53,6 @@ public class RedButton extends Button {
bg = Chrome.get( Chrome.Type.BUTTON );
add( bg );
text = PixelScene.renderText( 9 );
add( text );
}
@Override