aboutsummaryrefslogtreecommitdiff
path: root/gui/widgets/list.h
AgeCommit message (Collapse)Author
2014-02-18GUI: Make GPL headers consistent in themselves.Johannes Schickel
2013-04-16GUI: Always try to show as many entries as possible in ListWidget.Johannes Schickel
In case there were less items in the list than on a page, it was possible that a "scrollTo" call scrolled items out of the view even though all could be displayed. This caused odd behavior in the load dialog in T7G. There the list contains 10 entries. In case the last one was loaded via the dialog, the next time it was brought up again it showed the 9th entry at the top of the view and effectively hiding all the others. It furthermore did not show the scroll bar because all entries would have fit onto one page. To prevent this odd behavior, a boundary check has been added to all places where the scroll position is set. This has been taken from "scrollToCurrent" which already tried to prevent this. This fixes the second issue described in bug #3610960 "T7G - savegame glitches".
2012-09-26GUI: Save/restore last scroll position in the list save/load dialog.Johannes Schickel
This should give a better user experience, since the user will not have to scroll back to where he was when he used the dialog last. Thanks to wjp for suggesting this.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2010-11-16GUI: Move major widgets to new directory gui/widgetsMax Horn
Also renamed the source/header files, now they are more closely aligned to how we rename most other source files svn-id: r54264