-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Description
When adding a scrollpane within a tab, the tab pane gets slightly smaller and the tab buttons start leaking.
Example:
buildingsTab.getContentTable().add(buildingsScrollPane).grow();
Will cause the issue:
However, it can be fixed by doing this instead:
buildingsTab.getContentTable().add(buildingsScrollPane).prefHeight(1).grow();
Which will fix the issue:
Not sure what happens behind the scenes that causes it to be fixed when calling prefHeight(), but it would be nice to not have to do this hack.

