Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Native title bar buttons #702

Merged
merged 44 commits into from
Dec 6, 2024
Merged

Native title bar buttons #702

merged 44 commits into from
Dec 6, 2024

Conversation

eliandoran
Copy link
Contributor

@eliandoran eliandoran commented Dec 1, 2024

When native title bar is off, the original implementation drew its own buttons for minimizing, maximizing and closing the window. There are a few disadvantages with this:

  1. The buttons look off on all platforms (Windows where the icons were too thick, macOS where the icons were on the wrong side).
  2. Some native functions were not available, for example hovering on the maximize button will display additional layout options on Windows.
  3. On Linux, kept the original title bar buttons (at least for now) due to inconsistencies on wayland with the overlay button icons.

Windows

Before:

image

After:

image

macOS

Before:

image

After:

image

Position of the pin

The pin button has been relocated to the contextual menu, since we can no longer add extra buttons.

image

…dow_buttons
…dow_buttons
…dow_buttons
…dow_buttons
@eliandoran eliandoran marked this pull request as ready for review December 6, 2024 22:23
@eliandoran eliandoran merged commit e22e974 into develop Dec 6, 2024
3 checks passed
@eliandoran eliandoran deleted the feature/native_window_buttons branch December 6, 2024 22:43
@eliandoran eliandoran restored the feature/native_window_buttons branch December 14, 2024 06:56
@eliandoran eliandoran deleted the feature/native_window_buttons branch December 14, 2024 06:57
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant