Windows tray height not deducted from screen height

Discuss GUI programming with the RapaGUI plugin here
Post Reply
SamuraiCrow
Posts: 475
Joined: Fri May 15, 2015 5:15 pm
Location: Waterville, Minnesota USA

Windows tray height not deducted from screen height

Post by SamuraiCrow »

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?
I'm on registered MorphOS using FlowStudio.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Windows tray height not deducted from screen height

Post by airsoftsoftwair »

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: 475
Joined: Fri May 15, 2015 5:15 pm
Location: Waterville, Minnesota USA

Re: Windows tray height not deducted from screen height

Post by SamuraiCrow »

You're probably right. After I posted this, I remembered the system tray can be moved to the side of the screen as well.
I'm on registered MorphOS using FlowStudio.
Post Reply