From e5e8916773a45a6d4f35fcb5cf6dec594e6726c4 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Mon, 19 Oct 2009 15:59:10 +0200 Subject: Fixing thumbs position --- src/homepage.cpp | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'src/homepage.cpp') diff --git a/src/homepage.cpp b/src/homepage.cpp index 9a15f249..7d93216c 100644 --- a/src/homepage.cpp +++ b/src/homepage.cpp @@ -116,14 +116,13 @@ QString HomePage::fillFavorites() for(int i=0; i<8; ++i) { QString text = names.at(i); - if(text.length() > 20) + if(text.length() > 23) { - text.truncate(17); + text.truncate(20); text += "..."; } speed += "
"; - speed += ""; + speed += ""; speed += ""; speed += ""; speed += ""; @@ -144,8 +143,7 @@ QString HomePage::lastVisitedSites() { HistoryItem it = history.at(i); last += "
"; - last += ""; + last += ""; last += ""; last += "
"; last += "" + it.url + ""; @@ -292,8 +290,7 @@ QString HomePage::fillClosedTabs() } closed += "
"; - closed += ""; + closed += ""; closed += ""; closed += ""; closed += ""; -- cgit v1.2.1