ToolBarHeight returns the wrong height.
As with macOS, it should always return the height NULL that the client window starts below the ToolBar.
This means that the output in the FormDesigner is incorrect.
[Done] PB v6.xx ToolBarHeight on Linux
[Done] PB v6.xx ToolBarHeight on Linux
My Projects EventDesigner V3 / ThreadToGUI / OOP-BaseClass / Windows: Module ActiveScript
PB v3.30 / v5.75 - OS Mac Mini - VM Window Pro / Linux Ubuntu
Downloads on my OneDrive
PB v3.30 / v5.75 - OS Mac Mini - VM Window Pro / Linux Ubuntu
Downloads on my OneDrive
Re: [Done] PB v6.xx ToolBarHeight on Linux
I am currently working on the PureBasic FormDesigner.
Setting ToolBarHeight(...) to zero was not a good idea.
The height of the toolbar is needed to calculate the internal height of the window, as WindowHeight(...) returns the height including the toolbar.
It is therefore better to create the FormCode so that the position Y for the content is without the ToolBarHeight (as I already do with the IDE patch for v6.21).
So back to the previous ToolBarHeight method...
Sorry
Setting ToolBarHeight(...) to zero was not a good idea.
The height of the toolbar is needed to calculate the internal height of the window, as WindowHeight(...) returns the height including the toolbar.
It is therefore better to create the FormCode so that the position Y for the content is without the ToolBarHeight (as I already do with the IDE patch for v6.21).
So back to the previous ToolBarHeight method...
Sorry
My Projects EventDesigner V3 / ThreadToGUI / OOP-BaseClass / Windows: Module ActiveScript
PB v3.30 / v5.75 - OS Mac Mini - VM Window Pro / Linux Ubuntu
Downloads on my OneDrive
PB v3.30 / v5.75 - OS Mac Mini - VM Window Pro / Linux Ubuntu
Downloads on my OneDrive

