Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to change the PropertySheet title color

    Hi, Isomorphic!

    I have propertiesSheet with required textitem, and need to chage the title color by css.

    I have tried to set the following css but it does not work.

    Please let me know how to change the title color.

    Thanks.

    CSS on index.html
    //////////////////////////
    .propSheetTitle,
    .propSheetTitleFocused,
    .propSheetTitleDisabled ,.propSheetTitleError,
    .propSheetValueError{

    color:black;
    background-color:#FFFFFF;
    }
    /////////////////////////


    ////////////PropertySheet/////////////
    this.propertiesSheet = new PropertySheet();
    this.propertiesSheet.setNumCols( 4 );
    final TextItem textItem = new TextItem( "foo" );
    textItem.setRequired( true );
    this.propertiesSheet.setFields(textItem );
    //////////////////

    I need change the color of "foo".

    #2
    I post this article to the wrong place. This is for smartgwt. Sorry.

    Comment

    Working...
    X