Announcement

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

    very basic question re: animateShow

    I have an animateShow which slides a layout into view from above. However it pushes everything beneath it down, distorting the page.

    How do I configure it to slide into view "on top of" the existing widgets?

    Here is some of my code:
    Code:
            setVisibility(Visibility.HIDDEN);
            setPosition(Positioning.ABSOLUTE);
            setTop(0);
            setRight(50);
            setAnimateTime(1200);
    which I took from the showcase: http://www.smartclient.com/smartgwt/showcase/#effects_animation_slide

    I've tried adding the Layout as a child, and as a member, same result.

    Thanks alot,
    Alan

    #2
    Don't add the layout as a child or member of anything - just draw() it.

    Comment


      #3
      Thanks!

      Worked perfectly.

      Comment

      Working...
      X