amir1376/compose-custom-window-frame

system buttons is not well positioned

Aperta

#1 aperta il 5 nov 2023

 (1 commento) (0 reazioni) (0 assegnatari)Kotlin (1 fork)github user discovery
bughelp wanted

Metriche repository

Star
 (49 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor