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


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

Re: Swing application get

From "Larry Barowski" <larry.barowski@THRWHITE.remove-dii-this>
Subject Re: Swing application get
Message-ID <hNWdnXoAXvh_t0XbnZ2dnUVZ_t2inZ2d@comcast.com> (permalink)
Newsgroups comp.lang.java.gui
References <fb8kd1$i4i$01$1@news.t-online.com>
Date 2011-04-27 15:38 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui

"Karsten Lentzsch" <karsten@jgoodies.com> wrote in message 
news:fb8kd1$i4i$01$1@news.t-online.com...
> Larry Barowski wrote:
>> [...] Fixed sized margins and borders don't normally hurt
>> usability for the range of monitor resolutions in common use, and can be
>> scaled where necessary. [...]
>
> The range of monitors in teams I work with is about 78 dpi (hardware)
> up to 144 hardware dpi. This leads to significantly sizes on the
> higher dpi hardware. This affects borders, gaps, table column widths,
> custom preferred sizes for trees and lists.
>
> Therefore I use Dialog Units (DLU) for these sizes where possible.

For table column widths and preferred sizes for trees and lists, I
always base the size on the font currently used in the table, tree,
or list (assuming these items contain mostly text).

It's a good idea to use a global base value for margins and
possibly borders that can be keyed to the DPI or font size by
default, but is also adjustable by the user, separately from the
global font scale I mentioned before. If the user wants giant
fonts and tiny margins, they should be able to have them.

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

Swing application getting "Chanchal" <chanchal@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
  Re: Swing application get "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
  Re: Swing application get "Knute Johnson" <knute.johnson@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
    Re: Swing application get "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
    Re: Swing application get "Larry Barowski" <larry.barowski@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
      Re: Swing application get "Chanchal" <chanchal@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
      Re: Swing application get "Karsten Lentzsch" <karsten.lentzsch@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
        Re: Swing application get "Larry Barowski" <larry.barowski@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000

csiph-web