about listicons
Posted: Wed Jan 01, 2020 5:58 pm
Hello:
I have two problems with listicons:
First, on web and android, columns width isn't correct, in the example below I create a listicons and some stringgadgets just above with same width, I noticed columns not aligned with corresponding stringgadget.
Second, after creating android application, there's no scroller on the right side to view the last items, on web scroller appears correctly
any help is appreciated
Thanks
I have two problems with listicons:
First, on web and android, columns width isn't correct, in the example below I create a listicons and some stringgadgets just above with same width, I noticed columns not aligned with corresponding stringgadget.
Code: Select all
#wid1=40
#wid2=30
#wid3=60
#wid4=20
#wid5=50
OpenWindow(0,0,0,350,500,"Test", #PB_Window_SizeGadget)
SetGadgetFont(#PB_Default, LoadFont(0, "Arial", 14))
ListIconGadget(1,20,120,300,350,"No.",#wid1,#PB_ListIcon_GridLines | #PB_ListIcon_FullRowSelect)
AddGadgetColumn(1, 2, "a", #wid2)
AddGadgetColumn(1, 3, "b", #wid3)
AddGadgetColumn(1, 4, "c", #wid4)
AddGadgetColumn(1, 5, "d", #wid5)
StringGadget(2,20,90,#wid1,20,"")
StringGadget(3,20+#wid1,90,#wid2,20,"")
StringGadget(4,20+#wid1+#wid2,90,#wid3,20,"")
StringGadget(5,20+#wid1+#wid2+#wid3,90,#wid4,20,"")
StringGadget(6,20+#wid1+#wid2+#wid3+#wid4,90,#wid5,20,"")
For i=1 To 100
AddGadgetItem(1,-1,"line "+Str(i))
Next
CloseDebugOutput()
any help is appreciated
Thanks