ListIconGadget() scrolls horizontally by click
Posted: Fri May 26, 2023 11:33 am
Hi,
not a big bug, but annoying from my point of view.
When clicking on the third column with the text "three", the list is horizontally scrolled to make this cell fully visible.
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")