Example usage for com.badlogic.gdx.scenes.scene2d.ui VerticalGroup space

List of usage examples for com.badlogic.gdx.scenes.scene2d.ui VerticalGroup space

Introduction

In this page you can find the example usage for com.badlogic.gdx.scenes.scene2d.ui VerticalGroup space.

Prototype

public VerticalGroup space(float spacing) 

Source Link

Document

Sets the space between children.

Usage

From source file:com.agateau.ui.UiBuilder.java

License:Apache License

protected VerticalGroup createVerticalGroup(XmlReader.Element element) {
    VerticalGroup group = new VerticalGroup();
    group.space(element.getFloatAttribute("spacing", 0));
    int align = parseAlign(element);
    if (align != -1) {
        group.align(align);//from   w  ww .  j a  v  a  2  s . co m
    }
    return group;
}