summaryrefslogtreecommitdiff
authorsandman <sandman>2002-06-21 23:07:50 (UTC)
committer sandman <sandman>2002-06-21 23:07:50 (UTC)
commit1b876ce8dbc5933db5b84d55e5cabecdb0adec2e (patch) (side-by-side diff)
treead2f141fed331ac7037a621c4c71fdfea03142b4
parent36670ad2bb45fac351361cfa48db99eaadfa13ce (diff)
downloadopie-1b876ce8dbc5933db5b84d55e5cabecdb0adec2e.zip
opie-1b876ce8dbc5933db5b84d55e5cabecdb0adec2e.tar.gz
opie-1b876ce8dbc5933db5b84d55e5cabecdb0adec2e.tar.bz2
Made the tabbar icons a litte bit more "liquid compliant" -- seems like
the TT styles return wrong values for tabbarMetrics ...
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/launcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/launcher/launcher.cpp b/core/launcher/launcher.cpp
index e9e17f7..02124d2 100644
--- a/core/launcher/launcher.cpp
+++ b/core/launcher/launcher.cpp
@@ -285,13 +285,13 @@ CategoryTabBar::~CategoryTabBar()
void CategoryTabBar::layoutTabs()
{
if ( !count() )
return;
// int percentFalloffTable[] = { 100, 70, 40, 12, 6, 3, 1, 0 };
- int hiddenTabWidth = -12;
+ int hiddenTabWidth = -7;
int middleTab = currentTab();
int hframe, vframe, overlap;
style().tabbarMetrics( this, hframe, vframe, overlap );
QFontMetrics fm = fontMetrics();
int x = 0;
QRect r;