davvil/pdfpc — pull request #15 by rschroll (2012-05-20 23:00:22+00:00)
Title: Change Overview from table of buttons to an IconView

As discussed in issue #2, this makes the overview scroll automatically to the selected items. This changes how the overview slides are sized, though, because we can't layout the buttons and then see how big they are. I've implemented an algorithm that should result in the largest size that fits all of the slides without scrolling. (Unless this is smaller than min_overview_width, in which case that is used.)

Then, I went and got fancy, making the current slide be brighter than all the rest, instead of adding a yellow background behind it. This also lets us crowd the icons a bit closer together, and therefore have them be bigger.

The last commit enables the left and right arrows to wrap around to the previous/next row. The is different from the old behavior. I find it more natural, since it means you can always navigate with the arrow keys, but YMMV.