Auto-sizing of single tab thumbnail ribbon, also on zoomin/out. Stops autosizing once you manually move the ribbon splitter.

This commit is contained in:
Oliver Duis
2010-11-10 00:39:20 +01:00
parent a876935d37
commit 6cce14161f
6 changed files with 23 additions and 2 deletions

View File

@@ -101,6 +101,9 @@ protected:
void addButtonSet (LWButtonSet* bs);
int getMinimalHeight () { return height; }
int getMinimalWidth () { return width; }
int getEffectiveHeight () { return fnlabh+dtlabh+upperMargin+lowerMargin+textGap+height; }
bool inside (int x, int y);
bool insideWindow (int x, int y, int w, int h);
void setPosition (int x, int y, int w, int h);