Skip to main content

initComponentImpl bug

1 reply [Last post]
mohaemdsaleh
Offline
Joined: 2009-02-18
Points: 0

Hi

There is a bug in Component.initComponentImpl

in the follwoing code:

if(isRTL() && isScrollableX()){

setScrollX(getScrollDimension().getWidth());

}

It should be:

if(isRTL() && isScrollableX()){

setScrollX(getScrollDimension().getWidth()-getWidth());

}

Now it displays blank screen when RTL is true.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vprise
Offline
Joined: 2003-11-07
Points: 0

Thanks, I'll fix it in my next commit.