fdesign puzzle

rouben@math.umbc.edu
Mon, 13 Jan 1997 23:35:36 -0500

To subscribers of the xforms list from rouben@math.umbc.edu :

I can swear that this used to work before, but now it doesn't.
And I can't figure out why.

I am trying to use fdesign to create a form of some arbitrary dimensions,
say 288x232. So I click on [Align] and set the increment value to
zero. Then use the mouse to resize the default window to 288x232.
The saved *.fd file correctly shows the size of the form as being
288x232. But when I exit fdesign and resart it with the name of
the saved *.fd file on the comand line, the form shown has dimensions
rounded to 280x230.

I have tried this with three different releases of fdesign
(0.84, 0.81, and 0.80j) and all of them behave in the same way.
So I think I am overlooking someting silly. Attached below
is the contents of an *.fd file created by fdesign. Can anyone
tell me what I am doing wrong? The operating system is Linux with ELF.

-- 
Rouben Rostamian <rouben@math.umbc.edu>

---------- contents of try.fd -------------------------------------- Magic: 13000

Internal Form Definition File (do not change)

Number of forms: 1 Unit of measure: FL_COORD_PIXEL

=============== FORM =============== Name: form0 Width: 288 Height: 232 Number of Objects: 1

-------------------- class: FL_BOX type: UP_BOX box: 0 0 288 232 boxtype: FL_UP_BOX colors: FL_COL1 FL_COL1 alignment: FL_ALIGN_CENTER style: FL_NORMAL_STYLE size: FL_DEFAULT_SIZE lcol: FL_BLACK label: shortcut: resize: FL_RESIZE_ALL gravity: FL_NoGravity FL_NoGravity name: callback: argument:

============================== create_the_forms

------------ end of contents of try.fd --------------------------------