wails/v3/pkg
younggann 9d51280ec6
fix(macOS): Use visibleFrame for window centering to exclude menu bar (#4516)
* fix(macOS): Use visibleFrame for window centering to exclude menu bar

The windowCenter() function was using [screen frame] which includes
the menu bar and dock areas, causing windows to appear positioned
too high on the screen when centered.

This change uses [screen visibleFrame] instead, which excludes the
menu bar and dock areas, resulting in proper visual centering.

Fixes vertical centering issue on macOS in Wails v3 alpha.

* Update v3/UNRELEASED_CHANGELOG.md

* Update changelog entry format

---------

Co-authored-by: Atterpac <89053530+atterpac@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2025-09-07 09:35:08 +00:00
..
application fix(macOS): Use visibleFrame for window centering to exclude menu bar (#4516) 2025-09-07 09:35:08 +00:00
events [V3] Drag-n-Drop Zones and improvements (#4318) 2025-08-04 20:40:19 +10:00
icons [v3 windows] Small icon updates 2023-06-10 10:19:33 +10:00
mac [v3] Add start_at_login plugin 2023-04-05 21:22:02 +10:00
services Refactor to using Window interface (#4471) 2025-08-09 15:28:08 +10:00
w32 feat: Add Content Protection for Windows and macOS (#4485) 2025-08-09 17:12:39 +10:00