public static interface Layout.SpacingHandler extends Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
isSpacing() |
void |
setSpacing(boolean enabled)
Enable spacing between child components within this layout.
|
void setSpacing(boolean enabled)
NOTE: This will only affect the space between
components, not the space around all the components in the layout
(i.e. do not confuse this with the cellspacing attribute of a HTML
Table). Use Layout.MarginHandler.setMargin(boolean)
to add space
around the layout.
See the reference manual for more information about CSS rules for defining the amount of spacing to use.
enabled
- true if spacing should be turned on, false if it should be
turned offboolean isSpacing()
Copyright © 2018 Vaadin Ltd. All rights reserved.