Package com.badlogic.gdx.scenes.scene2d.utils

Examples of com.badlogic.gdx.scenes.scene2d.utils.Layout.pack()


      Actor actor = node.actor;
      if (actor instanceof Layout) {
        Layout layout = (Layout)actor;
        rowWidth += layout.getPrefWidth();
        node.height = layout.getPrefHeight();
        layout.pack();
      } else {
        rowWidth += actor.getWidth();
        node.height = actor.getHeight();
      }
      if (node.icon != null) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.