Page 1 of 1

ListIconGadget() scrolls horizontally by click

Posted: Fri May 26, 2023 11:33 am
by hoerbie
Hi,
not a big bug, but annoying from my point of view.

Code: Select all

id = OpenWindow(#PB_Any, 50, 50, 300, 300, "My App", #PB_Window_ScreenCentered)
lis = ListIconGadget(#PB_Any, 5, 5, 290, 340, "First", 100, #PB_ListIcon_FullRowSelect|#PB_ListIcon_GridLines)
AddGadgetColumn(lis, 1, "Second", 100)
AddGadgetColumn(lis, 2, "Three", 200)
AddGadgetColumn(lis, 3, "Four", 100)
AddGadgetItem(lis, 0, "one"+#LF$+"two"+#LF$+"three"+#LF$+"four")
AddGadgetItem(lis, 1, "one"+#LF$+"two"+#LF$+"three"+#LF$+"four")
AddGadgetItem(lis, 2, "one"+#LF$+"two"+#LF$+"three"+#LF$+"four")
When clicking on the third column with the text "three", the list is horizontally scrolled to make this cell fully visible.

Re: ListIconGadget() scrolls horizontally by click

Posted: Sat Sep 30, 2023 8:33 am
by Fred
Seems to be the normal behaviour here, so I don't think it needs to be fixed.