From ca3a61f33a886bd10781358dff7f70fe19be2ca4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 27 Feb 2012 16:27:03 +0530 Subject: [PATCH] ... --- src/calibre/gui2/pictureflow/pictureflow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/gui2/pictureflow/pictureflow.cpp b/src/calibre/gui2/pictureflow/pictureflow.cpp index 876c8cc65e..28c29ee2c7 100644 --- a/src/calibre/gui2/pictureflow/pictureflow.cpp +++ b/src/calibre/gui2/pictureflow/pictureflow.cpp @@ -687,6 +687,7 @@ void PictureFlowPrivate::render_text(QPainter *painter, int index) { // So that if there is no subtitle, the caption is not flush with the bottom if (brect2.height() < fontSize) brect2.setHeight(fontSize); + brect2.setHeight(brect2.height()+5); // A bit of buffer // So that the text does not occupy more than the lower half of the buffer if (brect.height() > ((int)(buffer.height()/3.0)) - fontSize*2)