How to create a shelf with draggable buttons?

I want to create a scene which contains multiple shelfs/rows. Each shelf/row will have a set of icons or buttons. Some rows will have all buttons visible, while others have more buttons on the shelf, but they are out of the viewing area.
I'm looking for a behavior which groups all buttons on a single row together, and a user should be able to drag the grouped icons horizontally, to reveal the ones that were not visible. The extra dfficulty here is that a row contains buttons, which should not receive a touch event while the row is being dragged to the left or right.
Smooth easing the row in place would also be a nice option.
Any help is appreciated.
I'm looking for a behavior which groups all buttons on a single row together, and a user should be able to drag the grouped icons horizontally, to reveal the ones that were not visible. The extra dfficulty here is that a row contains buttons, which should not receive a touch event while the row is being dragged to the left or right.
Smooth easing the row in place would also be a nice option.
Any help is appreciated.
Comments