Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Padding for Window Buttons #16

Closed
sxzz opened this issue Jan 13, 2023 · 3 comments
Closed

Padding for Window Buttons #16

sxzz opened this issue Jan 13, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@sxzz
Copy link
Member

sxzz commented Jan 13, 2023

We should add some padding for macOS (macOS only I guess) for window controlling buttons.

image

@piotrski piotrski added the bug Something isn't working label Jan 20, 2023
@Moshyfawn
Copy link

There's a lot to this issue as I don't think Tauri exposes an easy way to determine the decorations / title bar safe areas for different devices.

The solution is to add a custom drag-area to the Elk web client at the top of the default layout with a native: style like

<div data-tauri-drag-region native:h-8 />

The issue is,the title bar widget (like OS X traffic lights) can have different width and height based on multiple factors like user preferences or OS version (potentially different OS in the future). This is the feature request that could potentially solve it tauri-apps/tauri#6030.

Currently, the sane solution is to design the top client navigation around the OS specific widgets, IMO.

@Moshyfawn
Copy link

There's been an update to improve the title bar customization

@JonasKruckenberg
Copy link
Collaborator

Hey! Just letting you know that elk-native is no longer maintained, much of the team has moved on or is busy with other projects (there's only so much time in a day 😅), so this issue will likely not be fixed.
Please use the actively maintained elk PWA instead.

Thanks so much for your support and understanding so far! ❤️

@JonasKruckenberg JonasKruckenberg closed this as not planned Won't fix, can't repro, duplicate, stale May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants