Hi,
I've inherited a qooxdoo project, which has been going OK up til now. I have
two list boxes, the first comes with a list of items and has a button to add
a selected item to the second list. The second list has a button to remove
an item that was added from the first list. So far so good since the lists
and buttons were stacked like so in the first column of my layout:

Some other buttons

List 1

Add Button

List 2

Remove Button

Now they want:

Some other buttons

List 1                      Add button

List 2                      Remove button

I'm trying to get the position of List 1 and List 2 so that I can position
the Add/Remove buttons vertically relative to the lists; I can render them
at absolute locations, but the lists can expand depending on the window
size, so that gives me the buttons in the wrong relative position.

I've tried setting List 1 to the parent of the Add button and then using
setDomTop(), but it says that List 1 is not in the DOM yet?!? and then tried
getBounds() on the Lists and they return as 'null'. Suggestions welcome....
Ken
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to