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


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

Re: SWT maximum size

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

Show all headers | View raw


  To: comp.lang.java.gui
On Jun 5, 6:10 pm, IchBin <weconsulta...@gmail.com> wrote:
> adam.h...@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, USAhttp://ichbinquotations.weconsulting.org
> ______________________________________________________________________
> 'If there is one, Knowledge is the "Fountain of Youth"'
> -William E. Taylor, Regular Guy (1952-)

Cool, I'll do that.  Thanks, -adam

---
 * 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 | 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