It won't solve that bug because we will still scroll to the begining of the TreeItem. However, that bug can be easily fixed if we allow you to disable the scrollIntoView option with a modifier.
Thanks, John LaBanca [email protected] On Wed, Apr 15, 2009 at 5:24 AM, Thomas Broyer <[email protected]> wrote: > > > > On 15 avr, 00:44, [email protected] wrote: > > Reviewers: jgw, > > > > Description: > > If an element does not fit in its parent element, > > DOMImpl.scrollIntoView(elem) will line up the right edge of the elem > > with the right edge of the parent, which looks ugly. The desired > > behavior is for the elem to scroll into view and have its left edge > > align with its parent's left edge. > > > > For example, if you select a TreeItem that is too wide to fit in its > > scrollable parent, some part of the TreeItem will need to be hidden. > > Currently, you will see the right edge of the TreeItem and the left side > > will be truncated. With this patch, the left side will be visible and > > the right side will be truncated. It seems like this behavior would > > always be preferable (except in RTL, which we can address in a separate > > patch). > > FYI, provided I understand the above note correctly, this would fix > issue 2467 (and make our clients happier :-P (Fred Sauer knows who > I'm talking about ;-) )) > > http://code.google.com/p/google-web-toolkit/issues/detail?id=2467 > > > --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
