# IupFill

Definition: | include pGUI.e Ihandle ih = IupFill(string attributes="", dword_seq args={})
Description: | Creates void element, which dynamically occupies empty spaces always trying to expand itself. Its parent should be an IupHbox, an IupVbox or a IupGridBox, or else this type of expansion will not work. If an EXPAND is set on at least one of the other children of the box, then the fill expansion is ignored. For more information on the attributes and args parameters see IupSetAttributes. It does not have a native representation. Returns: the identifier of the created element.
pwa/p2js: | Supported, however may yet be deprecated in favour of a justify-content:space-between compatible approach.
See Also: | IupHbox, IupVbox
Attributes: |
EXPAND | (non inheritable) (read-only) If User size is not defined, then when inside an IupHbox or IupGridBox EXPAND is HORIZONTAL, when inside a IupVbox EXPAND is VERTICAL. If User size is defined then EXPAND is NO.
SIZE+ / RASTERSIZE+ | (non inheritable) Defines the width, if inside a IupHbox, or the height, if it is inside a IupVbox. The standard format "wxh" can also be used, but width will be ignored if inside a IupVbox and height will be ignored if inside a IupHbox (since 3.3). When consulted behaves as the standard SIZE/RASTERSIZE attributes.
WID | (read-only) returns -1 if mapped.
also | FONT, NAME, POSITION, MINSIZE, MAXSIZE: also accepted.