PureBasic Forum
https://www.purebasic.fr/english/

[Done] TreeGadget Dark Mode
https://www.purebasic.fr/english/viewtopic.php?f=24&t=72621
Page 1 of 1

Author:  wombats [ Thu Apr 11, 2019 1:10 am ]
Post subject:  [Done] TreeGadget Dark Mode

In Dark Mode, if a TreeGadget item has images, the text colour is wrong.
Image
Code:
CreateImage(0, 16, 16, 24, #Blue)
If OpenWindow(0, 0, 0, 355, 180, "TreeGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
  TreeGadget(0, 10, 10, 160, 160)
  TreeGadget(1, 180, 10, 160, 160, #PB_Tree_NoLines)
  AddGadgetItem(0, -1, "Item")
  AddGadgetItem(1, -1, "Item", ImageID(0))
EndIf
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow

Author:  Fred [ Fri Apr 12, 2019 1:10 pm ]
Post subject:  Re: TreeGadget Dark Mode

Fixed.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/