This is what the IDE shows:
Luckily the built app renders correctly as intended:
But it makes it very hard to edit the controls of course. Changing tabs and returning does not solve the problem.
2024r4.2 on macOS Sonoma
This is what the IDE shows:
Luckily the built app renders correctly as intended:
I’m sorry, I have never seen that.
I see it occasionally, but today was a particularly bad day. Just pointing out to Xojo that after so many releases, their IDE rendering is occasionally quite flawed. Tab panels are particularly problematic it seems and have been for many years.
Another thing I did not mention, is when I went to duplicate for example, those red canvases to make more buttons, option-dragging sends the copy to a totally different tab for some reason.
Oh, the problem is with TabPanels. It was not clear on your first post.
all the controls have the right parents? there should be a red rectangle around if one selected to validate it.
it looks like one button have correct width and the other not.
have you checked all anchor?
you need to fill an issue with example if you are sure that is part of xojo and incorrect with TabPanels.
who knows, all i know is that if I drag a control into a tab i expect its parent etc to be assigned correctly.
It’s been some time since I’ve last worked on a project making extensive use of tab panels but I’ve never seen these kind of issues myself.
You need (when dragging the control onto the TabPanels) to make sure the appropriate panel is currently visible.
Watch out for the red border as mentioned above.
However, my 10 cents, having used this control extensively and avoided it’s limitations…
can you upload a binary project with just this window in first screenshot here?
we can see if it is mac os or windows issue.
It looks like the GroupBox captioned “Plot” is being sized dynamically in code, is that the case?
no code resizing, just plain controls. As for uploading a project with the window, probably won’t help because viewing this window in a new IDE tab did not exhibit. so it’s a transient glitch but the worst i’ve seen so wanted xojo to be aware in case they want to take a look at their tab panel rendering mechanism.
if it always happens in the ide after opening the project it should be reproducible.
unf it doesn’t, very hit and miss, but as you can see still there after years of many releases
Hard to reproduce, hard to fix. I hope they can find a way to reproduce/fix, but if this is happening for many years I guess they haven’t yet.
show/check at least the tab order if it is correct.
i put few things together and it was initially in the wrong hirachy.