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


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

Re: SWT maximum size

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail
From "IchBin" <ichbin@THRWHITE.remove-dii-this>
Subject Re: SWT maximum size
Message-ID <BLmdnSucOtHWQvjbnZ2dnUVZ_sWdnZ2d@comcast.com> (permalink)
X-Comment-To comp.lang.java.gui
Newsgroups comp.lang.java.gui
In-Reply-To <1180969526.519926.198840@h2g2000hsg.googlegroups.com>
References <1180969526.519926.198840@h2g2000hsg.googlegroups.com>
Content-Type text/plain; charset=IBM437
Content-Transfer-Encoding 8bit
X-Gateway time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92]
Lines 37
Date Wed, 27 Apr 2011 15:35:10 GMT
NNTP-Posting-Host 96.60.20.240
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1303918510 96.60.20.240 (Wed, 27 Apr 2011 10:35:10 CDT)
NNTP-Posting-Date Wed, 27 Apr 2011 10:35:10 CDT
Organization TDS.net
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.gui:1757

Show key headers only | 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