Announcement

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

    Layout Group Title Position Changes When Updated

    Hi Isomorphic,

    When we attempt to update the Group Title for a VLayout, the positioning changes on us.

    com.smartgwt.client.widgets.Canvas.setGroupTitle(String)


    Chrome Before Group Title Update
    Click image for larger version

Name:	chrome_before.png
Views:	43
Size:	390 Bytes
ID:	262539

    Chrome After Group Title Update
    Click image for larger version

Name:	chrome_after.png
Views:	32
Size:	387 Bytes
ID:	262540


    Firefox Before Group Title Update
    Click image for larger version

Name:	firefox_before.png
Views:	32
Size:	398 Bytes
ID:	262541


    Firefox After Group Title Update
    Click image for larger version

Name:	firefox_after.png
Views:	31
Size:	404 Bytes
ID:	262542


    SmartClient Version: v12.0p_2020-04-03/Pro Deployment (built 2020-04-03)

    Thanks

    #2
    We've looked into this and we see the problem in 12.0 and 12.1.

    A change had already been made shortly after your build-date that should make things work properly in FireFox.

    For Chrome and Opera, we'll update here when we have a solution. In the meantime, can you confirm whether you see an error in the browser console after a call to setGroupTitle() misbehaves?

    Comment


      #3
      Hi Isomorphic,

      Yes, there is a console error.

      *10:53:08.283:XRP8:WARN:drawing:isc_xxxxxLayout_29_groupLabel:Attempt to draw child of an undrawn parent - ignoring

      Regards
      Last edited by stonebranch2; 29th May 2020, 07:04.

      Comment


        #4
        Please retest with a more recent build - there were two recent fixes to groupTitle placement and those fixes were backported to 12.x, but that happened a few days after your current build.

        Note that the console error we noted seeing above was actually a stack-trace generation error, much more obvious than the warning you saw, and it's specific to Chrome. That's already fixed in our development branch and will be ported back to 12.0 shortly.

        Please let us know if you still see issues with a build from the last few days - we may need to see a short sample.

        Comment

        Working...
        X