Listbox position offset into tabpanel on Linux

I tried a clean project and it works

but on an old project, i’m trying to figure out what provoke that

the listbox is in a tabpanel
the tabpanel is in a container
the container into a window

if i use the listbox out the tabpanel, it works fine in the old projet

Ubuntu 22.04
Xojo 2024r3

any ideas ?

Okay, I’ve identified a pattern: when the TabPanel’s .left and .top properties are not set to 0, the Listbox content shifts proportionally based on the margins of the Listbox and TabPanel.

Is there a workaround to prevent or correct this offset?

I’ve included a project with a Slider to demonstrate the issue.

BinaryProjectTest

You can upload zips to the forum now:
TestContainerTabPanelListboxLinux.xojo_binary_project.zip (9.5 KB)