This is strange, I don't have this problem! Try using fxspy ( http://code.google.com/p/fxspy/ ) to inspect your components and find out who is causing that horizontal scrollbar to appear. Another thing: not only the widths of the components are important but also their position. So if the largest component is 800 but its x position is 200, then its right edge is at 1000!
On Thu, Sep 11, 2008 at 3:17 AM, itdanny2002 <[EMAIL PROTECTED]> wrote: > Thank you. Your hints correct me. I found that > the extra width which cause the display of > horizontal bar is vertical scrollbar. > > However, no matter what width value I set, the > additional vertical bar will cause additional > horizontal bar. For example, I see application width > is 1000. All child is less than 800. It still has > additional horizontal bar. > > One solution is to set vertical scrollbar to "on". > Then, everything ok. However, I want the bar displays > when it needs. > > >