Results 1 to 3 of 3

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

Hybrid View

Previous Post Previous Post   Next Post Next Post
    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
      0  

    Default [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
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976
    Vote Rating
    131
      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
      0  

    Default

    Yes,
    I forgot
    Code:
    !important
    in the css

    Thanks
    Sorry for the inconvenience.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •