Positioning Relative to the Form Limits
- Last UpdatedOct 26, 2022
- 1 minute read
You can place a new gadget relative to the limits of the form so far.
For example, to place CANCEL and OK gadgets at the base of a form:
button .CANCEL at xmin form ymax form+0.5 CANCEL
This extends the form by adding a CANCEL button at bottom left.
path right
button .OK at xmax form - size OK
This adds an OK button, aligned to the right hand side of the form (without increasing its width).
Note:
The omission of the Y co-ordinate, which is auto-placed at ymin of the previous gadget.