Unfortunately, this does not help. The window looks the same
The problem is that I canāt subtract the height of the toolbar from the total height, because it returns 0 as the toolbar height, which seems wrong to me.
Var i As Integer = macOSToolbar1.Height
Self.Height = Self.Height - i
At the moment I donāt have a good idea how to solve this problem. I really donāt want to calculate where controls are and where they should be. I wanted to offer the users the choice of BSifying the interface like I did with the outline icons.
Currently with Xojo 2021r1 the combination of two workarounds usually solves the positioning issues with bottom-locked Controls which may occur if you have modified the Toolbar using Declares:
Make sure the Toolbar is the last added Control of the Window.
ā Go to the Layout Editor of the Window, Cut the Toolbar, Paste it again
If you add more bottom-locked Controls later, do this step again.
In the .Open Event of the Window add: self.Height = self.Height