(PB v5.70b3) Subsystem QT - StatusBarHeight and MenuHeight

Linux specific forum
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

(PB v5.70b3) Subsystem QT - StatusBarHeight and MenuHeight

Post by mk-soft »

OS: Linux Ubuntu 18.04 X64 (Gnome and Budgie)

Result is Zero

Code: Select all

Debug StatusBarHeight(#StatusBar)
Debug MenuHeight()
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
deeproot
Enthusiast
Enthusiast
Posts: 269
Joined: Thu Dec 17, 2009 12:00 pm
Location: Llangadog, Wales, UK
Contact:

Re: (PB v5.70b3) Subsystem QT - StatusBarHeight and MenuHeight

Post by deeproot »

Any news or reasonably simple workarounds on this?

Also same issue for ToolBarHeight - returns 0 with Qt.

Testing with PB 6.00 Beta 7 x84 on MX ( = Debian 11) with Xfce. GTK2 and 3 return apparently correct values in all cases.

Not urgent - - just experimenting with Qt for potential future use.
Fred
Administrator
Administrator
Posts: 16617
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: (PB v5.70b3) Subsystem QT - StatusBarHeight and MenuHeight

Post by Fred »

It returns 0 because it's not part of the window client area. The doc needs to be update than MenuGeight() and StatusBarHeight() are only useful when calculating the window client dimension
Post Reply