You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I unfortunately do not have time to create a self contained code, but I am 99.9% sure that I am adding the widgets correctly. I am doing it in the same way as in the examples.
Note that this bug only happens when having a Tab with a ScrollPane in it, everything else works just fine. So I reckon there is an interaction bug between those two systems.
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.The text was updated successfully, but these errors were encountered: