tauri icon indicating copy to clipboard operation
tauri copied to clipboard

能够提供隐藏关闭,最大最小窗口按钮支持圆角的功能?

Open Neo110 opened this issue 2 years ago • 1 comments

Describe the problem

能够提供隐藏关闭,最大最小窗口按钮支持圆角的功能?

Describe the solution you'd like

能够提供隐藏关闭,最大最小窗口按钮支持圆角的功能?

Alternatives considered

No response

Additional context

No response

Neo110 avatar Jun 20 '23 04:06 Neo110

Google translate:

Able to provide hidden close, maximum and minimum window buttons support the function of rounded corners Is it possible to provide the function of hiding and closing, the maximum and minimum window buttons supporting rounded corners?

simonhyll avatar Jun 21 '23 05:06 simonhyll

If you mean the native window controls then it will only work on platforms that already have rounded corners with the native window decorations (macos, linux(?) and windows 11). Win7 - Win10 can only have rounded corners via css (there are no OS apis we can use as far as i know) which means you'll lose the native window controls meaning you'd have to simulate them in html/js similar to https://tauri.app/v1/guides/features/window-customization/

FabianLars avatar Jun 22 '23 06:06 FabianLars