amir1376/compose-custom-window-frame

system buttons is not well positioned

开放

#1 创建于 2023年11月5日

 (1 条评论) (0 个反应) (0 位负责人)Kotlin (1 个派生)github user discovery
bughelp wanted

仓库指标

星标
 (49 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

There is an issue here when I want to convert compose Layout Coordinates to java.awt.Rectangle to let java.awt know about hit spots. I have to manually add extra offset to x's offset to accurate button position!

in my case this offset addition is 11f but it may be different in other screens

maybe it needs scale factor or something

贡献者指南