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


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

Re: JButton.setMargin bro

From "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
Subject Re: JButton.setMargin bro
Message-ID <7746b41e9f554@uwe> (permalink)
Newsgroups comp.lang.java.gui
References <nki2d3pdbqnlgeh7uounubfqnk58lictdm@4ax.com>
Date 2011-04-27 15:38 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
Roedy Green wrote:
>>No.  This code produces one small and one big 
>>button here, using Java 1.6.
>
>Maybe it is an interaction with GridBagLayout.

Maybe.  Without code it is hard to tell.

GBL does tend to muck up when there is no minimum*
size set for a component, when that component cannot
be assigned its preferred size.

* As far as I vaguely recall.  There are very few things
cannot be achieved with other layouts, so I tend to avoid
using it, mostly.

-- 
Andrew Thompson
http://www.athompson.info/andrew/

Message posted via http://www.javakb.com

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

JButton.setMargin broken "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
  Re: JButton.setMargin bro "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
    Re: JButton.setMargin bro "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
      Re: JButton.setMargin bro "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
  Re: JButton.setMargin bro "usenet" <usenet@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
    Re: JButton.setMargin bro "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
  Re: JButton.setMargin bro "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000

csiph-web