Announcement

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

    Window.setShowTitle(false) causes title to always be shown

    Hello,

    it appears that Window.setShowTitle(false) triggers the title to always be visible even when using Window.setHeaderControls() in SmartClient/SmartGWT Framework (v11.1p_2017-10-20/Enterprise Deployment 2017-10-20)
    This test
    Code:
                Window window = new Window();
                window.setWidth(400);
                window.setShowTitle(false);
                Label label = new Label("Label");
                window.setHeaderControls(label);
                window.show();
    looks like this Click image for larger version

Name:	window title.jpeg
Views:	119
Size:	16.2 KB
ID:	249888

    Is there a workaround?
    Attached Files

    #2
    calling Window.centerInPage() also nullifies window.setHeaderControls() effect.

    Comment


      #3
      We've fixed the problem that "Untitled Window" was still being shown even with setShowTitle(false), in SGWT 6.1p/SC 11.1p and newer releases. That will be in the nightly builds dated 2017-11-07 and beyond.

      However, we were not able to reproduce any problem with Window.centerInPage(). That appears to be working as expected, including with your example code.
      Last edited by Isomorphic; 6 Nov 2017, 13:13.

      Comment

      Working...
      X