Fine tuned auto thumb size calculation in single tab ribbon

This commit is contained in:
Oliver Duis
2010-11-11 19:42:19 +01:00
parent 10cda4ab81
commit 06875fede4

View File

@@ -102,7 +102,7 @@ protected:
int getMinimalHeight () { return height; }
int getMinimalWidth () { return width; }
int getEffectiveHeight () { return fnlabh+dtlabh+upperMargin+lowerMargin+textGap+height; }
int getEffectiveHeight () { return fnlabh+dtlabh+exlabh+textGap+exp_height; }
bool inside (int x, int y);
bool insideWindow (int x, int y, int w, int h);