Re: [gwt-contrib] What do you think of adding bidi support to LayoutPanel

2011-04-04 Thread Jeff Larsen
After digging through Showcase and doing some more research I figured out that no, LayoutPanels don't work the way I would expect them to in rtl mode. If I do a LayoutPanel.setLeftWidth() it sets the widget left regardless of if it is in ltr or rtl mode. Which seems like it is a

[gwt-contrib] What do you think of adding bidi support to LayoutPanel

2011-03-31 Thread Jeff Larsen
In some instances, it would be nice to have LayoutPanel swap left and right. I was thinking of something like adding a private boolean bidi = false; public void setWidgetLeftWidth(Widget child, double left, Unit leftUnit, double width, Unit widthUnit) { assertIsChild(child);

Re: [gwt-contrib] What do you think of adding bidi support to LayoutPanel

2011-03-31 Thread Ray Ryan
The LayoutPanels' already swap properly in RTL locales, don't they? http://gwt.google.com/samples/Showcase/Showcase.html?locale=ar_YE http://gwt.google.com/samples/Showcase/Showcase.html?locale=en On Thu, Mar 31, 2011 at 2:33 PM, Jeff Larsen larse...@gmail.com wrote: In some instances, it

Re: [gwt-contrib] What do you think of adding bidi support to LayoutPanel

2011-03-31 Thread Jeff Larsen
Huh, I must be doing something wrong then in my test implementations because layouts etc aren't being switched even though images are being swapped when picking the ar locale. I'll have to investigate deeper into showcase. Thanks. On Thu, Mar 31, 2011 at 4:49 PM, Ray Ryan rj...@google.com wrote: