Package com.badlogic.gdx.scenes.scene2d.ui.ScrollPane

Examples of com.badlogic.gdx.scenes.scene2d.ui.ScrollPane.ScrollPaneStyle


      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()
          + scrollStyle.background.getRightWidth())
View Full Code Here


      if (style.disabledFontColor != null) this.disabledFontColor = new Color(style.disabledFontColor);
      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

      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()
        + scrollStyle.background.getRightWidth()
View Full Code Here

      if (style.disabledFontColor != null) this.disabledFontColor = new Color(style.disabledFontColor);
      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

      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()
          + scrollStyle.background.getRightWidth())
View Full Code Here

      if (style.disabledFontColor != null) this.disabledFontColor = new Color(style.disabledFontColor);
      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

      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()
          + scrollStyle.background.getRightWidth())
View Full Code Here

      if (style.disabledFontColor != null) this.disabledFontColor = new Color(style.disabledFontColor);
      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

Related Classes of com.badlogic.gdx.scenes.scene2d.ui.ScrollPane.ScrollPaneStyle

Copyright © 2018 www.massapicom. 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.