From 069a889e205c5cc93f93d8b8530a1375da9945d0 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 18 May 2011 23:28:18 +0200 Subject: 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 ;) --- src/tabbar.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/tabbar.h') 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; -- cgit v1.2.1