amir1376/compose-custom-window-frame

system buttons is not well positioned

オープン

#1 opened on 2023/11/05

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Kotlin (1 件のフォーク)github user discovery
bughelp wanted

Repository metrics

Stars
 (49 個のスター)
PR merge metrics
 (30d に merged 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

コントリビューターガイド