Fine tuned auto thumb size calculation in single tab ribbon
This commit is contained in:
@@ -102,7 +102,7 @@ protected:
|
|||||||
int getMinimalHeight () { return height; }
|
int getMinimalHeight () { return height; }
|
||||||
int getMinimalWidth () { return width; }
|
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 inside (int x, int y);
|
||||||
bool insideWindow (int x, int y, int w, int h);
|
bool insideWindow (int x, int y, int w, int h);
|
||||||
|
Reference in New Issue
Block a user