Page 1 of 1
(PB v5.70b3) Subsystem QT - StatusBarHeight and MenuHeight
Posted: Sat Dec 01, 2018 12:19 pm
by mk-soft
OS: Linux Ubuntu 18.04 X64 (Gnome and Budgie)
Result is Zero
Code: Select all
Debug StatusBarHeight(#StatusBar)
Debug MenuHeight()
Re: (PB v5.70b3) Subsystem QT - StatusBarHeight and MenuHeight
Posted: Tue May 24, 2022 10:19 am
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.
Re: (PB v5.70b3) Subsystem QT - StatusBarHeight and MenuHeight
Posted: Wed Aug 09, 2023 5:32 pm
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