|
04-09-13, 06:31 AM | #1 |
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()? |
|
Riftui » Developer Discussions » General Authoring Discussion » Issues with activated UI scaling |
«
Previous Thread
|
Next Thread
»
|
Display Modes |
Switch to Linear Mode |
Hybrid Mode |
Switch to Threaded Mode |
|
|