Windows tray height not deducted from screen height

Discuss GUI programming with the RapaGUI plugin here
Post Reply
SamuraiCrow
Posts: 237
Joined: Fri May 15, 2015 5:15 pm
Location: Ft. Collins, Colorado USA

Windows tray height not deducted from screen height

Post by SamuraiCrow » Wed Jan 02, 2019 2:09 pm

When making a maximized window using

Code: Select all

<window height="Screen:100" width="Screen:100>
the window is so tall that the title bar at the top of the window is invisible unless you either resize the tray or the window testing on Windows 7. Would it be difficult to deduct the size of the system tray at the bottom?

User avatar
airsoftsoftwair
Posts: 3162
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Windows tray height not deducted from screen height

Post by airsoftsoftwair » Wed Jan 02, 2019 6:38 pm

I think it's actually quite some work, probably not worth the effort. AFAIR the taskbar can switch places or can be hidden completely, and there's of course also macOS and Linux to be taken into account where the issue would have to be fixed as well. Then there's the problem that Linux and macOS often have title bars which also would have to be taken into account. It's quite a lot of work for very little gain IMHO.

SamuraiCrow
Posts: 237
Joined: Fri May 15, 2015 5:15 pm
Location: Ft. Collins, Colorado USA

Re: Windows tray height not deducted from screen height

Post by SamuraiCrow » Wed Jan 02, 2019 8:52 pm

You're probably right. After I posted this, I remembered the system tray can be moved to the side of the screen as well.

Post Reply