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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user