WildByDesign Posted yesterday at 12:43 PM Posted yesterday at 12:43 PM By the way, the text is measured with _WinAPI_GetTextExtentPoint32 which I assume does not take DPI into consideration. Although I am not 100% sure on that. I wonder if I need to apply the DPI math in that area which might be easier.
WildByDesign Posted yesterday at 01:07 PM Posted yesterday at 01:07 PM @water and @SOLVE-SMART Both of your functions work perfectly. Thank you so much. This definitely helps solve the measurement issue. Although I still can't test at 200% scaling or higher to see if any text gets cut off. But from what I can test, it is perfect on my end. SOLVE-SMART 1
WildByDesign Posted yesterday at 07:06 PM Posted yesterday at 07:06 PM (edited) Here is what the SampleControls GUI looks like currently with the latest UDF using the modern dark theme on latest Windows 11: Screenshot in spoiler Spoiler Edited yesterday at 07:07 PM by WildByDesign argumentum and SOLVE-SMART 2
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now