Page 1 of 1

No Scrolling on Listicongadgets on Tablets

Posted: Wed Feb 24, 2021 7:37 am
by Stefan
Can it be that you cannot scroll with a ListIconGadget on a tablet and smartphone?
Is there a solution for this?

Re: No Scrolling on Listicongadgets on Tablets

Posted: Wed Feb 24, 2021 2:25 pm
by Dirk Geppert
I haven't had any problems with it yet. Maybe you can post your source code?

Re: No Scrolling on Listicongadgets on Tablets

Posted: Wed Feb 24, 2021 3:00 pm
by Stefan

Code: Select all



Enumeration
  #ranglistew
  #ranglistelv
  
EndEnumeration

OpenWindow(#RanglisteW,50,50,1000,600, "Ranglisten",#PB_Window_SystemMenu )
ListIconGadget(#RanglisteLV,50,10,800,500,"Rang",60, #PB_ListIcon_GridLines    )
AddGadgetColumn(#RanglisteLV, 1, "Name", 150)  
AddGadgetColumn(#RanglisteLV, 2, "Taler",100)  
AddGadgetColumn(#RanglisteLV, 3, "Spiele",100)  

r.s=Chr(10)
ClearGadgetItems(#RanglisteLV)
For i = 1 To 1000
  name.s= "aName "+Str(i)
  taler.s = Str(Random(100,1))
  spiele.s = Str(Random(100,1))
  zeile.s=Str(i)+r+name+r+taler+r+spiele
  AddGadgetItem(#RanglisteLV,-1,zeile)
  
  
Next i  

Doesn't work on Tablets, Ipads and Smartphones

Re: No Scrolling on Listicongadgets on Tablets

Posted: Wed Feb 24, 2021 5:05 pm
by Paul
Stefan wrote: Doesn't work on Tablets, Ipads and Smartphones
Are you compiling as a web page or as an App for mobile device?

Re: No Scrolling on Listicongadgets on Tablets

Posted: Wed Feb 24, 2021 6:55 pm
by Stefan
Web-Page

Re: No Scrolling on Listicongadgets on Tablets

Posted: Wed Feb 24, 2021 8:01 pm
by Paul
Yes, I find the same problem here.

If the Window has the #PB_Window_Background flag then I can scroll the list on a mobile device but as a regular Window there is no scroll bar and no ability to scroll the list.

Re: No Scrolling on Listicongadgets on Tablets

Posted: Thu Feb 25, 2021 9:03 am
by Dirk Geppert
Confirmed:

No Scrollbar, but scrollable: #PB_Window_Background, #PB_Window_Borderless
No Scrollbar, not scrollable: #PB_Window_SystemMenu

Relates also to both themes (flat and claro)

Edit: it works with a two-finger scroll gesture