ResizeGadget()

Syntax

ResizeGadget(#Gadget, x, y, Width, Height)
Description
Resize the specified #Gadget to the given position and dimensions. To ease the building of realtime resizeable Graphical User Interfaces (GUIs), #PB_Ignore can be passed as any parameter (x, y, Width or Height) and this parameter will not be changed. This is very handy because often the gadget should only change in width or in height.
  [...]
  
  ResizeGadget(0, #PB_Ignore, #PB_Ignore, 300, #PB_Ignore) ; Only change the gadget width.
  

Supported OS

All

<- RemoveGadgetItem() - Gadget Index - ScrollAreaGadget() ->