[Done] PB v6.xx ToolBarHeight on Linux

Post bugreports for the Linux version here
User avatar
mk-soft
Always Here
Always Here
Posts: 6253
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

[Done] PB v6.xx ToolBarHeight on Linux

Post by mk-soft »

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.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Fred
Administrator
Administrator
Posts: 18248
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PB v6.xx ToolBarHeight on Linux

Post by Fred »

Fixed.
User avatar
mk-soft
Always Here
Always Here
Posts: 6253
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: [Done] PB v6.xx ToolBarHeight on Linux

Post by mk-soft »

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 :oops:
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Post Reply