Height Confusion
Some people may find the way the Height of the menu window is calculated
confusing - or uninteresting! So for users who want to know why the
height is what it is, here is a little (well... long) explanation:
The Amiga OS will always use the screen's default font (set in Workbench
preferences) for the text in the title bars for each window opened.
This means that the size of the title bar is variable when running the
menu with `BMX' and it is inconvenient to keep the height of the window
constant - the calculations in the ButtonMenu Creator would also have
to be used in the `BMX' program which would make the program nearly as
large as the creator, and would create incompatibilities with different
systems. I wanted the menu to be displayed as quickly as possible with
the smallest possible program.
So, you are asked to enter the maximum inner height for the window,
which is the height of window excluding the title bar and bottom border.
The `Calculated Total Height' gadget will display an estimate for the
total height of the window, using the current screen font.
Included is a `Height Adjust' feature. This will alter the height
further, by removing any blank lines that will not be used giving a
slightly tidier menu. To do this though, the `Calculated Total Height'
is calculated as before, but with the smallest possible height.
[Contents]
HTML Conversion by AG2HTML.pl V2.941126c, perl $RCSfile: perl.c,v $$Revision: 4.0.1.6 $$Date: 91/11/11 16:38:45 $
Patch level: 19
& witbrock@cs.cmu.edu