Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #1746 > unrolled thread
| Started by | "adam.hinz" <adam.hinz@THRWHITE.remove-dii-this> |
|---|---|
| First post | 2011-04-27 15:35 +0000 |
| Last post | 2011-04-27 15:35 +0000 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.lang.java.gui
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
| From | "adam.hinz" <adam.hinz@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:35 +0000 |
| Subject | SWT maximum size |
| Message-ID | <1180969526.519926.198840@h2g2000hsg.googlegroups.com> |
To: comp.lang.java.gui 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 --- * 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
[toc] | [next] | [standalone]
| From | "IchBin" <ichbin@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:35 +0000 |
| Message-ID | <BLmdnSucOtHWQvjbnZ2dnUVZ_sWdnZ2d@comcast.com> |
| In reply to | #1746 |
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
[toc] | [prev] | [next] | [standalone]
| From | "adam.hinz" <adam.hinz@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:35 +0000 |
| Message-ID | <1181147904.808444.30930@p77g2000hsh.googlegroups.com> |
| In reply to | #1757 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.gui
csiph-web