Interface GridLayoutTagDeclaration

  • All Superinterfaces:
    HasBinding, HasColumnLayout, HasId, HasRowLayout, HasSpacing, IsVisual

    public interface GridLayoutTagDeclaration
    extends HasId, HasSpacing, HasColumnLayout, HasRowLayout, HasBinding, IsVisual

    WARNING: This component is preliminary and may be changed without a major release.

    Renders a GridLayout.
     columns/rows ::= LAYOUT
     LAYOUT       ::= TOKEN [";" TOKEN]+
     TOKEN        ::= AUTO | PIXEL | PROPORTIONAL
     AUTO         ::= "auto" | "fixed"
     PIXEL        ::= NUMBER "px"
     PROPORTIONAL ::= [NUMBER] "*"
     
    GridLayout
    Parent Child Okay? Remarks
    AUTO any combination of AUTO or PIXEL but no PROPORTIONAL okay -
    AUTO any combination with at least one PROPORTIONAL wrong Layout manager cannot compute the auto value.
    PIXEL any combination of AUTO or PIXEL but no PROPORTIONAL potentially wrong The values depend on each other, the programmer has to keep consistency manually.
    PIXEL any combination with at least one PROPORTIONAL okay -
    PROPORTIONAL any combination of AUTO or PIXEL but no PROPORTIONAL potentially wrong No automatic matching:
    • too little space: scroll bar
    • too much space: elements will be spread.
    PROPORTIONAL any combination with at least one PROPORTIONAL okay -