PDA

View Full Version : Checkbox style problem



uozturk
25 Jul 2009, 7:32 PM
Only textDecoration works for the below style attributes:


cbRemeberMe = new CheckBox();

cbRemeberMe.setHideLabel( true );
cbRemeberMe.setBoxLabel( "Remeber Me" );
cbRemeberMe.setStyleAttribute( "textDecoration", "underline" );
cbRemeberMe.setStyleAttribute( "textAlign", "right" );
cbRemeberMe.setStyleAttribute( "fontStyle", "italic" );
cbRemeberMe.setStyleAttribute( "fontWeight","bold");
add( cbRemeberMe );

any ideas?