GWToolboxpp icon indicating copy to clipboard operation
GWToolboxpp copied to clipboard

UI scale does not update on window resize

Open adituv opened this issue 2 years ago • 2 comments

When you resize the guild wars window in windowed mode below a certain point, it automatically overrides your interface scale without Toolbox updating the cached UI scale. This leads to widgets with "snap to interface" modes not displaying correctly, as in the attached screenshot.

When I placed a trace on OnUIMessage (Resources.cpp L104) it did not trigger from window resizing, so to update the cache on window resize may be an involved change. An easier workaround would be to force update the scale multiplier in the affected widgets, if the performance isn't too badly affected.

All that said, no-one really plays in a small window any more. I only noticed when I made a small window to keep an eye on nine rings while working on other things.

gw018

adituv avatar Jun 29 '23 10:06 adituv

Does bypassing the cache work?

3vcloud avatar Jun 29 '23 17:06 3vcloud

Does bypassing the cache work?

Actually no it does not. I guess that makes it a reverse engineering effort of finding the current interface size rather than the user's saved preference.

adituv avatar Jun 29 '23 18:06 adituv