Listicongadget bug?

Just starting out? Need help? Post your questions and find answers here.
Martin Verlaan
Enthusiast
Enthusiast
Posts: 133
Joined: Sun Apr 01, 2018 11:26 am

Listicongadget bug?

Post by Martin Verlaan »

The example below does not work correct under Linux. If I change the background-color of the Listicongadget with SetGadgetColor, the items on the top and bottom disappear during scrolling. Is this a bug or am I doing something wrong?

Code: Select all

OpenWindow(0, #PB_Ignore, #PB_Ignore, 200, 200, "test") 

ListIconGadget(1, 0, 0, 200, 200, "test", 50)

For i = 1 To 100
  AddGadgetItem(1, LVitem - 1, Str(i))  
Next i
SetGadgetColor(1, #PB_Gadget_FrontColor, RGB(255, 255, 255))
SetGadgetColor(1, #PB_Gadget_BackColor, RGB(0, 0, 0))


Repeat
  Event = WaitWindowEvent()
Until Event = #PB_Event_CloseWindow