Announcement

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

    Header is transperent for GWT window

    Hi
    i am trying to give a message on window close in chrome, below is the code

    com.smartgwt.client.widgets.Window popup = new com.smartgwt.client.widgets.Window();
    popup.setWidth(400);
    popup.setHeight(150);
    popup.setShowMinimizeButton(false);
    popup.setShowCloseButton(false);
    popup.setIsModal(true);
    popup.setShowModalMask(false);
    popup.centerInPage();

    com.smartgwt.client.widgets.layout.HLayout messagePanel = new com.smartgwt.client.widgets.layout.HLayout(16);
    messagePanel.setMargin(16);
    messagePanel.setAlign(com.smartgwt.client.types.Alignment.CENTER);
    messagePanel.setWidth100();
    messagePanel.setHeight100();

    com.smartgwt.client.widgets.Label messageLabel = new com.smartgwt.client.widgets.Label(message);
    messageLabel.setWidth100();
    messageLabel.setAutoFit(true);
    messageLabel.setWrap(true);
    messagePanel.addMember(messageLabel);

    popup.addItem(messagePanel);
    popup.show();


    but when it renders in UI as you can see below the header part is transparent
    Also tried SC.confirm() , Dialog (same problem)

    Using GWT 2.4.0 (works with GWT 2.6.1) to support legacy implementation.



    Can anyone please help on this.

    #2
    Might be this one, if Chrome specific or if using Tahoe another one I can't seem to find. Please always give also your SmartGWT Version and retry with current nightly.
    Also a sceenshot and the Skin name are good in this case.

    Best regards
    Blama

    Comment


      #3
      Hi Blama

      Thank you for the quick response

      i am not using any kind of skin. i am using the exact code what i gave above

      i am using smartgwt-3.0.jar

      Note: works with GWT 2.6.1 + smartgwt-4.0.jar

      Regards
      Sibasish

      Comment


        #4
        Well, you must be using some skin. Check to which directory your load_skin.js request goes in Chrome F12 tools.
        Also, current Chrome won't most likely be expected to work perfectly with SmartGWT 3.0.
        You still did not answer the nightly-version question - check the used version in the Developer Console or get it from your downloaded files.

        Comment


          #5
          Yes checked with F12 developer tools, its pointing to enterprise skin.
          i am using smartgwt-3.0.jar GA build, not sure about nightly build
          you mean to check with latest nightly build of smartgwt jar ??

          Comment


            #6
            GA is the 1st version. As bugs get fixed, a new nightly is made available - basically every day. See here.
            You can see you used nightly(=version) in the footer of the Developer Console.
            Regarding 3.0 missing, see here.

            Comment

            Working...
            X