Kbase 15051: How system font affects Borders and Dialog boxes? 4041
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/05/1998 |
|
How system font affects Borders and Dialog boxes? 4041
Dialog-boxes have sizes that include the BORDER. The size is fixed
the Progress compiler, but the dialog-box border depends on your window
system (and its font).
Suppose the compiler calculates a dialog-box
as 50 PPU's wide. This is stored in the r-code.
If the border is .25 PPU's on each side, this
leaves 49.5 columns of usable space. Now suppose
you go to a smaller font. The same borders will
be, perhaps, .4 PPU's wide. This means you will
have only 49.2 columns of usable space.
Obviously there is a problem.
The rules are a little different for explicitly
sized dialog-boxes and those that use the compiler
to determine size, but essentially, the rules
are the same:
You should always leave a little space
around dialog boxes.
THis is true in both version 7 and 8.
Progress Software Technical Support Note # 15051