• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

ScrolledComposite won't wrap but supersize the composite  RSS feed

Ranch Hand
Posts: 1183
  • 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 ..

Let's get him boys! We'll make him read this tiny ad!
how do I do my own kindle-like thing - without amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!