ranjmis
unread,May 2, 2010, 4:43:18 PM5/2/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to GWT-FX
First of all thanks for all your energy and efforts by providing a
beautiful library which seamlessly gives effects to any object present
on a GWT panel.
To Brief My Problem Statement:
---------------------------------------------
I have a widget (A) which is wrapped N levels deep inside nested
Composite Widgets with respect to an AbsolutePanel (AP), which I call
my ancestor panel. There is a region (B) which is located as a child
of the mentioned ancestor (i.e. AP) such that AP becomes least common
ancestor of A and B.
I want to move A to B's region.
I have tried NMorphStyle as follows:
..........................
NMorphStyle morph = new NMorphStyle(
new Rule("start {left:0px; top:0px;}"),
new Rule("end {left:"+(Window.getClientWidth()-100)+"px; top:
0px;}")
);
..........................
It works in a way that it moves A in its parent's region. What I
intend to achieve is instead of A's parent I want to move it across
A's and B's least common ancestor region. I have handle to AP, A and B
across my class scope.
Hope the problem is clear. Let me know otherwise. Please advice how to
proceed.
Thanks,
Ranjeet