Panel Scrollbar not working correctly


i am having problems with the Panel and its scrollbars. (The problem does NOT depend on the tree table, I get this error with every component added to the Panel)

I’ve added two screenshots to the thread, where you can see the bug clearly.

As soon as a vertical scrollbar is being painted, a horizontal is beeing painted as well, probably because the width of the vertical scrollbar isn’t included in the layout calculations?

The second issue: The horizontal scrollbar is beeing painted but has no effect, since the content is not fully scrollable and the content is just cut off (see second screenshot).

I am using chameleon theme, but I dont think it depends on the chosen theme.

Please help me!

Thanks alot!!