amir1376/compose-custom-window-frame

system buttons is not well positioned

Offen

#1 geöffnet am 05.11.2023

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Kotlin (1 Fork)github user discovery
bughelp wanted

Repository-Metriken

Stars
 (49 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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

Contributor Guide