XBMC Community Forum
Make Panel scroll by page - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Skin Development (/forumdisplay.php?fid=12)
+--- Thread: Make Panel scroll by page (/showthread.php?tid=104015)

Pages: 1 2


Make Panel scroll by page - pecinko - 2011-06-22 13:07

Guys,

I'm using a Panel container for Icons view and I was wondering if there's a way to make it scroll by one page instead of by one row? I just want to make it easier on the eyes, nothing special.

Much like what you get when using scrollbar.


- pieh - 2011-06-22 14:52

Seems logical for me, let's wait for more response about it before making any changes.


- Hitcher - 2011-06-22 15:09

Surely that would make it more work to get to to the next item?


- pecinko - 2011-06-22 15:50

Hitcher Wrote:Surely that would make it more work to get to to the next item?

Why? It would behave the same as now, only difference is you will see next x rows instead of just one, thus minimizing "bumpy" scrolling?


- Hitcher - 2011-06-22 15:59

In the screenshot if I want to select 'Dead Man's Shoes' I simply press Right and it's selected, but if the whole page moved then I'd have to then press Left 6 times to go back to it.

[Image: screenshot000aml.jpg]

Do you see where I'm coming from?


- pecinko - 2011-06-22 16:29

Hitcher Wrote:In the screenshot if I want to select 'Dead Man's Shoes' I simply press Right and it's selected, but if the whole page moved then I'd have to then press Left 6 times to go back to it.

I see, focus would return to a last position and we would need it on next new row instead.

OTOH, current situation is a bit silly: in your screenshot one would use wall view so it can have a quick glance at several items at ones (beside it looking great, of course:-) Yet, all you are able to achieve is to present him next 3 items (1 column), forcing him to look to a somewhat "bumpy" scrolling each time.

I say let's show next page and position cursor at the beginning - i.e. your "dead Man's Shoes" should be shown in first column of a new page and cursor should be there.


- Jeroen - 2011-06-22 16:50

Maybe panels could be made to work somewhat similar to how <movement> works in fixed lists?
You could specify the amount of items to scroll horizontally and/or vertically before the panel moves to the next n of colums or rows.

So, In Hitcher's screenshot when I'm on "Cellular" I start scrolling to the right and once I reach "Cranck" for example, the container moves up a couple of columns while keeping the selection on "Crank".

On a related note, what I would really love to see is some inertia to scrolling. So that scrolling starts slowly and as I keep the button pressed scrolling speed will increase. This would be nice for people with really large collections I think.


- `Black - 2011-06-22 17:01

Hitcher Wrote:In the screenshot if I want to select 'Dead Man's Shoes' I simply press Right and it's selected, but if the whole page moved then I'd have to then press Left 6 times to go back to it.

Don't know if I understand it right but I don't think you would have to press left 6 times left to get back to the previous item? The Panel would just move an entire page instead of one column or row... if you press left, you would be back on the item in your screenshot.


- mcborzu - 2011-06-22 17:21

I've always wanted this, I've even ask the question before...

There are many times, mostly in wall views, where I would rather have the container load the next say 20, or however many I have visible in the container, items rather than just one row of 4.


- pieh - 2011-06-22 18:00

heh, I missunderstood initial post, but seems like there is something that could be improved Wink