Package org.zkoss.zul

Class Layout

    • Constructor Detail

      • Layout

        public Layout()
    • Method Detail

      • getSpacing

        public java.lang.String getSpacing()
        Returns the spacing between adjacent children, or null if the default spacing is used.

        Default: 0.3em (means to use the default spacing).

      • setSpacing

        public void setSpacing​(java.lang.String spacing)
        Sets the spacing between adjacent children.
        Parameters:
        spacing - the spacing (such as "0", "5px", "3pt" or "1em"). If the spacing is set to "auto", null, or empty (""), the DOM style is left intact, so the spacing can be customized from CSS.
        See Also:
        getSpacing()