EditorGadget scrollbars darkmode issue
Posted: Thu Apr 10, 2025 9:56 am
I have this color issue within editorgadget scrollbars when using dark mode (Windows 11):
Any ideas to make the white part dark?
Any ideas to make the white part dark?
Code: Select all
OpenWindow(0, 30, 30, 500, 400, "Demo1", #PB_Window_SystemMenu | #PB_Window_MinimizeGadget)
SetWindowColor(0, 0)
EditorGadget(1, 120, 60, 300, 100)
SetGadgetText(1, "Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow" + #CRLF$ + #CRLF$ +#CRLF$ +#CRLF$ +#CRLF$ )
SetGadgetColor(1, #PB_Gadget_BackColor, $323232)
SetGadgetColor(1, #PB_Gadget_FrontColor, $F2F2F2)
SetWindowTheme_(GadgetID(1), "DarkMode_Explorer", 0)
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow