You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noticed that on macOS screens (retina - scaleFactor 2) that window sizing/position settings are accurate only for non-retina screens eg: on the retina a window width setting of 100 will show on the screen as 200px which means any desktop UI layout using precise pixel values will require halving the values used in the window settings. Is there some setting somewhere that will allow Tauri to know the screen is retina and so have a setting of 100 resulting in a screen width of 100?
At the moment I can get around this by using the scaleFactor to adjust the sizing/position post window creation or just using half values in the initial settings.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Noticed that on macOS screens (retina - scaleFactor 2) that window sizing/position settings are accurate only for non-retina screens eg: on the retina a window width setting of 100 will show on the screen as 200px which means any desktop UI layout using precise pixel values will require halving the values used in the window settings. Is there some setting somewhere that will allow Tauri to know the screen is retina and so have a setting of 100 resulting in a screen width of 100?
At the moment I can get around this by using the scaleFactor to adjust the sizing/position post window creation or just using half values in the initial settings.
Beta Was this translation helpful? Give feedback.
All reactions