Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #1757

Re: SWT maximum size

From "IchBin" <ichbin@THRWHITE.remove-dii-this>
Subject Re: SWT maximum size
Message-ID <BLmdnSucOtHWQvjbnZ2dnUVZ_sWdnZ2d@comcast.com> (permalink)
Newsgroups comp.lang.java.gui
References <1180969526.519926.198840@h2g2000hsg.googlegroups.com>
Date 2011-04-27 15:35 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
adam.hinz@gmail.com wrote:
> I'm writing a layout manager for SWT, and I was wondering if there's a
> nice way to set the maximum size of a shell.  Shells have the method
> setMinimumSize(), but no corresponding one for maximum size.
> 
> In the layout manager's layout() method, I can check the size of the
> component, and if it's too big I can call setSize() on that
> component.  I'm wondering anyone knows a better way to do this?
> 
> -adam
> 

You may get an answer here but it would make better sense to ask this 
question over on the Eclipse NNTP server at: news.eclipse.org

Say in either one of these two newsgroups:

eclipse.platform.swt
eclipse.newcomer

You will need to get a free account to publish to those newsgroups. You 
can get one here (at the top: "Request a password"):

http://www.eclipse.org/newsgroups

-- 
Thanks in Advance...           http://weconsulting.org
IchBin, Philadelphia, Pa, USA http://ichbinquotations.weconsulting.org
______________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

SWT maximum size "adam.hinz" <adam.hinz@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
  Re: SWT maximum size "IchBin" <ichbin@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
    Re: SWT maximum size "adam.hinz" <adam.hinz@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000

csiph-web