• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

no resize in SWT

 
Stoonqtes halazoonates
Greenhorn
Posts: 6
  • 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: 24208
35
Chrome Eclipse IDE Mac OS X
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic