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


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

FormLayout gaps

From "Karsten Wutzke" <karsten.wutzke@THRWHITE.remove-dii-this>
Subject FormLayout gaps
Message-ID <1183983885.061161.25630@q75g2000hsh.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
Date 2011-04-27 15:36 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
Hello all!

I have created a (nice looking) form GUI with:

FormLayout fl = new FormLayout("r:p, 3dlu, p:g(0.3), 3dlu, p:g(0.7)",
                                 "p, 3dlu, p, 3dlu, p, 3dlu, p, 3dlu,
p, 9dlu, "
                               + "p, 3dlu, p, 3dlu, p, 3dlu, p, 3dlu,
p, 3dlu, p, 9dlu, "
                               + "p, 3dlu, p, 3dlu, p, 3dlu, p, 3dlu,
p, 3dlu, p, 9dlu, "
                               + "p, 3dlu, p");

It's pretty griddy and is nothing special to be honest. I read that
the gaps resize with the fonts, which was one of the main reasons to
switch to JGoodies forms. Now I have increased all fonts in the UI
defaults table to a much bigger size, however the gaps don't seem to
get any larger.

I'm obviously not doing the right thing here. What "property" defines
the scaling of the gaps anyway to solve my problem?

TIA
Karsten

---
 * 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 | NextNext in thread | Find similar | Unroll thread


Thread

FormLayout gaps "Karsten Wutzke" <karsten.wutzke@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
  Re: FormLayout gaps "Karsten Lentzsch" <karsten.lentzsch@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000

csiph-web