Hybrid View

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext GWT Premium Member
    Join Date
    Aug 2008
    Posts
    47
    Vote Rating
    0
    xalvaro is on a distinguished road

      0  

    Default [CLOSED] [GWT 2.0m1] Button.setIconStyle has no effect

    [CLOSED] [GWT 2.0m1] Button.setIconStyle has no effect


    It seems that there is a bug corresponding to the button iconStyle in gxt2.0

    Example:
    css :
    Code:
    .toDashBoard {width: 16px; height:  16px; background-image: url(icons/toDashBoard16.png)}
    code :
    Code:
    Button exportToDashBoardTool = new Button();	
    exportToDashBoardTool.setIconStyle("toDashBoard");
    exportToDashBoardTool.setMenu(menu);
    MenuItem menuItem = new MenuItem("New");  
    menuItem.setIconStyle("toDashBoard");   
    menu.add(menuItem);
    The icon is shown on the menuItem but not on the button.

    Thanks for your attention

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Please take a look at the examles how to set an icon style. CLOSED

  3. #3
    Ext GWT Premium Member
    Join Date
    Aug 2008
    Posts
    47
    Vote Rating
    0
    xalvaro is on a distinguished road

      0  

    Default


    Yes,
    I forgot
    Code:
    !important
    in the css

    Thanks
    Sorry for the inconvenience.

Thread Participants: 1