This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

no resize in SWT

 
Stoonqtes halazoonates
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
How can I dis activate the resizing of a window in SWT
thanks
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you create a "Shell" -- a top-level SWT window -- you provide some number of style constants, or-ed together. If you include neither SWT.RESIZE nor SWT.SHELL_TRIM, the window will not be resizeable.
 
Stoonqtes halazoonates
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for the answer Ernest Friedman-Hill
but the problem is that I'm using Jface, so I don't create the shell my self, it is created automatically!

can I change it's properties to make it none re sizable?

thanks
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic