Skip to content

ScrollPane offsets widget by bar size #2777

@dermetfan

Description

@dermetfan

This bug was introduced in 1.5.3. Here's a comparision between 1.5.2 (left) and 1.5.3 (right):
scrollpane bug 1 5 3

The bar for scrolling on x is not currently visible but notice the widget is offset by its height in 1.5.3.

I believe this commit introduced the problem. Since this commit scrollbarHeight is only subtracted from areaHeight if scrolling on both axes is enabled which in my picture is not the case. Undoing the changes to ScrollPane in this commit should fix the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneed more infoneeds more info. Likely to be closed when no reaction given.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions