Slide Effect Layering

24 views
Skip to first unread message

Mike

unread,
Sep 16, 2011, 4:37:21 PM9/16/11
to GWT-FX
Hi, I am trying to have one panel (p2) slide down from behind another
panel (p1). Both panels are children of a VerticalPanel that has a
background image. I am using a slide down effect for p2.
Unfortunately, I am having trouble getting p2 to be rendered below
(hidden) p1 before the effect is played. No matter how high I set the
zIndex of p1, p2 is always rendered on top. If I set p2 to have a
zIndex of -1, it is rendered below both p1 and its parent panel, and
thus is never visible. Setting the parent panel to have a zIndex of
-2 didn't appear to have any effect. Any help would be appreciated.
Reply all
Reply to author
Forward
0 new messages