File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ScrolledComposite won't wrap but supersize the composite

Sebastian Janisch
Ranch Hand
Posts: 1183
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey guys,

I'm trying to create a ScrolledComposite inside a GridLayout and it freaks me out. It sizes the Composite so it can accomodate all components inside of it in one row that totally outgrows the space available. I checked the snippets and did exactly the same thing but it won't work!

Here is some code.

clientArea.width returns 1232 or something else that is huge ... too huge for me to think that it's correct.

The constructor of AuthorizedAreaComposite looks like this:

I don't know why this doesn't work. So please advise ..

I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic