Announcement

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

    problem with enterpriseblue skin and edit.png icon

    Hi all,

    using smartgwtee2.3, I have a set of toolstripbuttons that i disable and enable depending on context.

    Icons for all of them work, EXCEPT "edit". When that button is disabled, the image won't show, but an image missing image is displayed in the browser.

    These are my inherits:
    <inherits name='com.google.gwt.user.User'/>
    <inherits name="com.smartgwtee.SmartGwtEE"/>
    <inherits name="com.smartgwt.tools.SmartGwtTools"/>
    <inherits name="com.smartclient.theme.enterpriseblue.EnterpriseBlue"/>

    <inherits name="com.google.gwt.i18n.I18N"/>


    This is how i create the button:
    public class CrudToolBarButton extends ImgButton {

    private boolean alwaysEnabled;

    public CrudToolBarButton(String source, boolean alwaysEnabled) {
    this.alwaysEnabled = alwaysEnabled;
    setSrc(source);
    setSize(16);
    setShowFocused(false);
    setShowRollOver(false);
    setShowDown(false);
    }
    ...
    new CrudToolBarButton("[SKIN]actions/edit.png", false);


    I took a look in the enterpriseblue skin jar and there was no edit_Disabled.png, like there was for the ones that did work ("add.png", for example)

    Can anybody help out and perhaps let me know if i'm doing anything wrong?

    thanks

    #2
    This will be added shortly.

    Comment


      #3
      Allright, thanks for the quick reply!

      Comment


        #4
        These images have been added.

        Comment


          #5
          FYI, same thing goes for Refresh.png, both in enterprise and enterpriseblue.

          Comment

          Working...
          X