Announcement

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

    Borderless Window

    Im using the following Version of SmartGWT:
    v8.3_2012-11-20/LGPL Deployment 2012-11-20
    on Firefox 18.0.2

    I upgraded my project from smartgwt 2.1 to 3.1 almost without any modifications. But I noticed one unexpected visual difference. It seems that the window cannot be border-less any more. There is always 2-3 pixel border around the window. Even worse is the corners of upper border are curved.

    Code:
    Window win = new Window();
    win.setBackgroundImage(path_to_loading_indicator_img);
    win.setWidth(60);
    win.setHeight(60);
    win.setAutoCenter(true);
    win.setShowHeader(false);
    win.setShowTitle(false);
    win.setShowEdges(false);
    win.setShowBody(false);
    win.setIsModal(true);
    win.setShowModalMask(true);
    win.show();
    My project uses default enterprise skin. Can developer confirm this as a defect, or have I done something wrong?
    Last edited by stanleyxu2005; 6 Feb 2013, 19:22.

    #2
    me too,

    is anybody knows,this is 3.1 ’s bug or anyother method to solve it?

    Comment


      #3
      I'm facing the same issue with my lgpl-5.0p nightly build of 26.08.2015.

      Did anyone find a solution for this?

      Custom CSS is probably a possible workaround, but I would prefer some API-method to disable window borders of one window.

      Comment


        #4
        PS: it seems like this does the trick:
        Code:
                window.setStyleName("");
                window.setBodyStyle("");

        Comment

        Working...
        X