Examples of ListStyle


Examples of com.badlogic.gdx.scenes.scene2d.ui.List.ListStyle

    for (int i = 0; i < items.size; i++)
      maxItemWidth = Math.max(font.getBounds(items.get(i).toString()).width, maxItemWidth);

    prefWidth = bg.getLeftWidth() + bg.getRightWidth() + maxItemWidth;

    ListStyle listStyle = style.listStyle;
    ScrollPaneStyle scrollStyle = style.scrollStyle;
    prefWidth = Math.max(
      prefWidth,
      maxItemWidth
        + (scrollStyle.background == null ? 0 : scrollStyle.background.getLeftWidth()
View Full Code Here

Examples of com.badlogic.gdx.scenes.scene2d.ui.List.ListStyle

      this.background = style.background;
      this.backgroundOver = style.backgroundOver;
      this.backgroundOpen = style.backgroundOpen;
      this.backgroundDisabled = style.backgroundDisabled;
      this.scrollStyle = new ScrollPaneStyle(style.scrollStyle);
      this.listStyle = new ListStyle(style.listStyle);
    }
View Full Code Here

Examples of com.badlogic.gdx.scenes.scene2d.ui.List.ListStyle

    for (int i = 0; i < items.length; i++)
      maxItemWidth = Math.max(font.getBounds(items[i]).width, maxItemWidth);

    prefWidth = bg.getLeftWidth() + bg.getRightWidth() + maxItemWidth;

    ListStyle listStyle = style.listStyle;
    ScrollPaneStyle scrollStyle = style.scrollStyle;
    prefWidth = Math.max(
      prefWidth,
      maxItemWidth
        + scrollStyle.background.getLeftWidth()
View Full Code Here

Examples of com.badlogic.gdx.scenes.scene2d.ui.List.ListStyle

      this.background = style.background;
      this.backgroundOver = style.backgroundOver;
      this.backgroundOpen = style.backgroundOpen;
      this.backgroundDisabled = style.backgroundDisabled;
      this.scrollStyle = new ScrollPaneStyle(style.scrollStyle);
      this.listStyle = new ListStyle(style.listStyle);
    }
View Full Code Here

Examples of com.badlogic.gdx.scenes.scene2d.ui.List.ListStyle

    for (int i = 0; i < items.size; i++)
      maxItemWidth = Math.max(font.getBounds(items.get(i).toString()).width, maxItemWidth);

    prefWidth = bg.getLeftWidth() + bg.getRightWidth() + maxItemWidth;

    ListStyle listStyle = style.listStyle;
    ScrollPaneStyle scrollStyle = style.scrollStyle;
    prefWidth = Math.max(
      prefWidth,
      maxItemWidth
        + (scrollStyle.background == null ? 0 : scrollStyle.background.getLeftWidth()
View Full Code Here

Examples of com.badlogic.gdx.scenes.scene2d.ui.List.ListStyle

      this.background = style.background;
      this.backgroundOver = style.backgroundOver;
      this.backgroundOpen = style.backgroundOpen;
      this.backgroundDisabled = style.backgroundDisabled;
      this.scrollStyle = new ScrollPaneStyle(style.scrollStyle);
      this.listStyle = new ListStyle(style.listStyle);
    }
View Full Code Here

Examples of com.badlogic.gdx.scenes.scene2d.ui.List.ListStyle

    for (int i = 0; i < items.size; i++)
      maxItemWidth = Math.max(font.getBounds(items.get(i).toString()).width, maxItemWidth);

    prefWidth = bg.getLeftWidth() + bg.getRightWidth() + maxItemWidth;

    ListStyle listStyle = style.listStyle;
    ScrollPaneStyle scrollStyle = style.scrollStyle;
    prefWidth = Math.max(
      prefWidth,
      maxItemWidth
        + (scrollStyle.background == null ? 0 : scrollStyle.background.getLeftWidth()
View Full Code Here

Examples of com.badlogic.gdx.scenes.scene2d.ui.List.ListStyle

      this.background = style.background;
      this.backgroundOver = style.backgroundOver;
      this.backgroundOpen = style.backgroundOpen;
      this.backgroundDisabled = style.backgroundDisabled;
      this.scrollStyle = new ScrollPaneStyle(style.scrollStyle);
      this.listStyle = new ListStyle(style.listStyle);
    }
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.