eclipse - ScrolledComposite splits the screen vertically and content is displayed in the right half -
i using scrolledcomposite existing control(with many children) based on method2 mentioned here :http://www.placelab.org/toolkit/doc/javadoc/org/placelab/util/swt/swtscrolledcomposite.html
the change instead of creating new shell & display using existing control's parent. seeing scroll bars expected existing control/content displayed form centre & not start. first half(vertically split) of layout empty & actual control/content gets displayed in right-half. checked bounds, origin, size etc. seem fine.
screenshot putup here :http://img818.imageshack.us/i/contentstartsfrommiddle.jpg
any clues
thanks in advance
did delete composite c1
? maybe in left side.
you provide change code.
Comments
Post a Comment