WildByDesign Posted Thursday at 12:43 PM Posted Thursday 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 Thursday at 01:07 PM Posted Thursday 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 Thursday at 07:06 PM Posted Thursday 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 Thursday at 07:07 PM by WildByDesign argumentum and SOLVE-SMART 2
WildByDesign Posted 9 hours ago Posted 9 hours ago GUIDarkTheme 0.6: Added dark mode for the date time picker (SysDateTimePick32) - courtesy of @UEZ Improved high DPI menubar measurement calculations - courtesy of @SOLVE-SMART Some code cleanup and better organization GUIDarkTheme-0.6.7z argumentum 1
argumentum Posted 6 hours ago Posted 6 hours ago The menu drop down in SampleControls-Dark.au3 does not show dark as it did. Beta tester #1 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
WildByDesign Posted 26 minutes ago Posted 26 minutes ago 5 hours ago, argumentum said: The menu drop down in SampleControls-Dark.au3 does not show dark as it did. Just to confirm, when you click on Menu One in the menubar, the drop down is not in dark mode anymore? Also if you have a moment, can you try it again right now? I'm just curious if it is happening 100% of the time or if it's random. Either way, it's going to have to be fixed. Thanks for letting me know.
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