Jim,
I'm trying to replace with a HorizontalPanel that contains 3 widgets
but I'm running into problems.
1. It's not possible to call setVerticalAlignment because the input
parameter has no public values so I'm calling
DOM.setStyleAttribute(td1, "verticalAlign", "middle") on each widget
added to the panel and that seems to work fine.
2. However I need to set the horizontal alignment of the 3rd widget to
be right aligned so I'm calling DOM.setStyleAttribute(td3, "align",
"right") but it's being ignored. Firebug indicates that the td align
is always 'left'. How do I set this to 'right'?
3. With this change to use a HorizontalPanel there is no visual
indicator that a tree item is selected? How can I make the item look
selected? At least the middle text part?
If I can solve items 2 & 3 I think this will work well.
-Dave
On Mar 22, 5:01 pm, Jim Douglas <
jdou...@basis.com> wrote:
> Instead of constructing your TreeItems with html, write your own
> custom tree item renderer and pass it in to the TreeItem(Widget)
> constructor.
>
>
http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/g...