Skip to content

Tab and ScrollPane visual bug #351

Open
@vladim0105

Description

@vladim0105

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:

image

However, it can be fixed by doing this instead:

buildingsTab.getContentTable().add(buildingsScrollPane).prefHeight(1).grow();

Which will fix the issue:

image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions