Skip to content

实现窗口控制按钮覆盖层,接入Win11贴靠布局#1909

Open
yaoyaozijing wants to merge 5 commits into
Predidit:mainfrom
yaoyaozijing:windows-button
Open

实现窗口控制按钮覆盖层,接入Win11贴靠布局#1909
yaoyaozijing wants to merge 5 commits into
Predidit:mainfrom
yaoyaozijing:windows-button

Conversation

@yaoyaozijing
Copy link
Copy Markdown
Contributor

实现窗口控制按钮覆盖层,移除原本写在sysappbar里的关闭按钮,以避免关闭按钮随页面切换移动、以及在某些场景消失的问题
按钮图标跟随深色/浅色模式,而在播放器页面下锁定为白色;关闭按钮图标会跟随关闭时行为改变,最小化到托盘时显示为一个向下的双箭头
播放器按钮能自动避开该覆盖层,覆盖层跟随播放器UI自动显示/隐藏
最大化按钮接入了Win11贴靠布局,高分屏测试正常。

sysappbar:
{E8655CD3-7E13-4082-B181-1E3BAA200786}
播放器页面:
{566E330C-7698-486D-9B1C-B795645C976F}
播放器页面按钮跟随隐藏:
{64AF2DEA-C45D-4DCA-A050-48A56DD1686B}
win11 贴靠布局:
{9C1AF103-6311-48EC-AEEB-22E3F410594B}

win11 贴靠布局参考了项目:https://github.com/luoluoqixi/flutter_windows11_snap_layouts_examples.git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant