Win grouplist bind a scrollbar, how it works
#1
Smile 
hello all, i know you have fallen asleep.

So, i want some suggestion when you wake up ...

ok, now its my question,all code is written in .xml file.


i create two buttons (id = "100", "200")in a grouplist,named A , and the button's control focus in another grouplist B which has some image groups (id = "1000","2000") and bind a scrollbar .

the focus on one button, then i slide left or right , grouplist B work good ,slide to the correct page .

(all above has done by my workmates....)

but when i add a new button (id = "50", on the left edge) into grouplist A and a new image group(id = "500") into grouplist B.

focus on button 50 , when i slide RIGHT direction , the page flash across image group 1000 and scroll to image group 2000 .

But the page should scrolled to image goup 1000 and then stop there.

Except this , all other buttons and direction , it works ok.

So, have a sweet dream, and give me some help when you wake up ...


thanks all
Reply
#2
What controls grouplist B position?
Reply
#3
(2014-04-16, 18:39)Hitcher Wrote: What controls grouplist B position?

button ,image and some custom controls
Reply
#4
Sorry, I meant what what actually controls its movement? ie Slide animations.
Reply
#5
(2014-04-17, 08:20)Hitcher Wrote: Sorry, I meant what what actually controls its movement? ie Slide animations.
a scrollbar which bind it. i think the control action has been implemented by XBMC team when a scrollbar bind the grouplist.

But, im not sure~~ what do you think, master~
Reply
#6
Never tried using a scrollbar for a grouplist before, can we see the complete code.
Reply
#7
(2014-04-17, 19:05)Hitcher Wrote: Never tried using a scrollbar for a grouplist before, can we see the complete code.

.cpp or .xml file ? which part~
Reply

Logout Mark Read Team Forum Stats Members Help
grouplist bind a scrollbar, how it works0