I think this can help you, I canโt test much, because I did it in the afternoon, you can test without having to compile the library, you just need to be careful when you import some classes, because the same thing the name changes eh the fact is within the character: //=============================// or things to consider with the class import.
this is the result: 
1 class SelectBoxOverflow
import com.mygdx.game.testingClass.ListOverflow.ListStyle; import com.mygdx.game.testingClass.ScrollPaneOverflow.ScrollPaneStyle; public class SelectBoxOverflow<T> extends Widget implements Disableable{ static final Vector2 temp = new Vector2(); SelectBoxStyle style; final Array<T> items = new Array<T>(); final ArraySelection<T> selection = new ArraySelection<T>(items); SelectBoxList<T> selectBoxList; private final TextBounds bounds = new TextBounds(); private float prefWidth, prefHeight; private ClickListener clickListener; boolean disabled; public SelectBoxOverflow (Skin skin) { this(skin.get(SelectBoxStyle.class)); } public SelectBoxOverflow (Skin skin, String styleName) { this(skin.get(styleName, SelectBoxStyle.class)); } public SelectBoxOverflow (SelectBoxStyle style) { setStyle(style); setSize(getPrefWidth(), getPrefHeight()); selection.setActor(this); selection.setRequired(true); selectBoxList = new SelectBoxList<T>(this); addListener(clickListener = new ClickListener() { public boolean touchDown (InputEvent event, float x, float y, int pointer, int button) { if (pointer == 0 && button != 0) return false; if (disabled) return false; if (selectBoxList.hasParent()) hideList(); else showList(); return true; } }); } public void setMaxListCount (int maxListCount) { selectBoxList.maxListCount = maxListCount; } public int getMaxListCount () { return selectBoxList.maxListCount; } protected void setStage (Stage stage) { if (stage == null) selectBoxList.hide(); super.setStage(stage); } public void setStyle (SelectBoxStyle style) { if (style == null) throw new IllegalArgumentException("style cannot be null."); this.style = style; invalidateHierarchy(); } public SelectBoxStyle getStyle () { return style; } public void setItems (T... newItems) { if (newItems == null) throw new IllegalArgumentException("newItems cannot be null."); float oldPrefWidth = getPrefWidth(); items.clear(); items.addAll(newItems); selection.validate(); selectBoxList.list.setItems(items); invalidate(); if (oldPrefWidth != getPrefWidth()) invalidateHierarchy(); } public void setItems (Array<T> newItems) { if (newItems == null) throw new IllegalArgumentException("newItems cannot be null."); float oldPrefWidth = getPrefWidth(); items.clear(); items.addAll(newItems); selection.validate(); selectBoxList.list.setItems(items); invalidate(); if (oldPrefWidth != getPrefWidth()) invalidateHierarchy(); }
2 class SelectBoxOverflow
3 ListOverflow classes
Change I cannot post other classes because Exed maximum even erases the impor, if anyone knows how to do this, I think that if I do not allow this answer for several days, if you are interested in sending the class
source share