[later]
I found an update to the command line tools and it didn't change anything.
[later]
I updated to Tahoe 26.2 and looked again for new CLTs but it didn't change anything.
[later]
I discovered that if I click in the stringgadget the background color appears as a square red box is but recessed a few pixels (see below) from the rounded frame. If I click on another gadget the background color disappears. The text color appears ok. Oh, the textgadget works fine.
This problem just appeared and I'm at a loss of what to do. Same result with 6.30b6.
[later]
I added the ExplorerTreeGadget and I don't get any color there either.
Code: Select all
If OpenWindow(0, 0, 0, 322, 340, "StringGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
StringGadget(0, 8, 10, 306, 20, "StringGadget no color")
SetGadgetColor(0, #PB_Gadget_BackColor, $0000FF)
StringGadget(1, 8, 40, 306, 20, "clicked-in StringGadget...")
SetGadgetColor(1, #PB_Gadget_BackColor, $0000FF)
TextGadget(2, 10, 70, 250, 20, "TextGadget looks normal") ; works fine with red square box filled
SetGadgetColor(2, #PB_Gadget_BackColor, $0000FF)
ExplorerTreeGadget(3,10, 100, 200, 200, "*.pb;*.pbi")
SetGadgetColor(0,#PB_Gadget_FrontColor,#Red)
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
also see
viewtopic.php?t=88085

