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

貢獻者指南