Contents | Index | < Browse | Browse >

 RESIZE (mask)LTWH

   This is an ultra cool attribute which lets you define exactly
   how you want a gadget to resize and reposition itself when
   you resize its window. The argument is a series of 4 numbers
   which act on the Left, Top, Width and Height of the gadget
   respectively and which can be a number from 0 to 3, meaning:

   0 = no resize,
   1 = Proportional resize (this is the Normal resize) 
   2 = Delta resize (add the full length change)
   3 = Max resize (the sum of both (1) and (2) above)

   Example:
   xBUTTON 10 10 100 15 "My button"
      Attr RESIZE 0022

   The above button will not move and will resize to the full
   increase of the window size in both width & height.

   Example :  Run Gui   Source