Fixed two thumb size related bugs (see issue #346)

This commit is contained in:
Oliver Duis
2010-11-20 13:52:09 +01:00
parent e16b4eee2e
commit 62ef20da5f
4 changed files with 12 additions and 5 deletions

View File

@@ -271,6 +271,9 @@ void ThumbBrowserEntryBase::resize (int h) {
// dimensions of the info text
getTextSizes (infow, infoh);
preh -= infoh + textGap;
// If the text size was selected very high in preferences this may go negative
if (preh<0) preh=0;
}
calcThumbnailSize ();