diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2011-05-18 23:28:18 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-05-18 23:28:18 +0200 |
commit | 069a889e205c5cc93f93d8b8530a1375da9945d0 (patch) | |
tree | b26b94b4229d49c2f22a958ded94d77bbea348c2 /src/tabbar.h | |
parent | SVN_SILENT made messages (.desktop file) (diff) | |
download | rekonq-069a889e205c5cc93f93d8b8530a1375da9945d0.tar.xz |
Fixes the size of a tab preview to a constant size, decorate it a bit
and clean up the code around it.
Patch by Tirtha Chatterjee, thanks :D
Reviewed by me ;)
Diffstat (limited to 'src/tabbar.h')
-rw-r--r-- | src/tabbar.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tabbar.h b/src/tabbar.h index 5d4c6d63..c1b0ba5c 100644 --- a/src/tabbar.h +++ b/src/tabbar.h @@ -101,6 +101,10 @@ private slots: void removeAnimation(int index); private: + //constants + static const int baseWidthDivisor = 4; + static const int minWidthDivisor = 8; + void setupHistoryActions(); friend class MainView; |