Issues with activated UI scaling
I'm just coding my first addon and have an issue with the width of my frames when I have activated the UI scaling.
I query the width with the following code: Code:
width = UI.Native.BarMain:GetWidth() with default UI scaling (checkbox is unchecked): -width after login: 547px -width after reloadui: 547px with 100% UI scaling: -width after login: 547px -width after reloadui: 730px with 75% UI scaling: -width after login: 547px -width after reloadui: 547px with 125% UI scaling: -width after login: 547px -width after reloadui: 912px So it seems that the default UI scaling is 75% and every UI scaling other than default or 75% will mess up my layout. Is there a possibility to avoid this issue other than not querying UI.Native.BarMain:Getwidth()? |
All times are GMT -6. The time now is 04:28 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2022 MMOUI