Author Topic: ListBox scrolls game names when not needed  (Read 5847 times)

JDGJr

  • Newbie
  • *
  • Posts: 4
    • View Profile
ListBox scrolls game names when not needed
« on: March 28, 2015, 06:13:41 PM »
I'm playing with a modification of the Basic layout, and I plan to use only a few ROMs. I'd like the list items to stay at the same location while the selection moves, and not have the few items move beyond the top or bottom of the list.

Has anyone done this before?

thanks!
John

cools

  • Full Member
  • ***
  • Posts: 83
  • Arcade Otaku Sysadmin
    • View Profile
    • Arcade Otaku
Re: ListBox scrolls game names when not needed
« Reply #1 on: March 30, 2015, 02:02:24 AM »
You won't be able to use a listbox for this.

raygun

  • Administrator
  • Sr. Member
  • *****
  • Posts: 393
    • View Profile
Re: ListBox scrolls game names when not needed
« Reply #2 on: March 30, 2015, 11:05:38 PM »
Yeah the built-in ListBox doesn't support that kind of behaviour.

You could achieve this in a layout but you would have to handle the customized list behaviour in the script itself.  It would be kind of like how the grid layout has a selection that can move around the grid without moving the images themselves (until you hit the edges)... so that could be an example to look at for ideas.