From: Flavio Tordini Date: Fri, 22 Jan 2010 21:41:47 +0000 (+0100) Subject: Fixed long queries in the recent keywords list (Thanks to Vadim P.) X-Git-Tag: 0.9~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=feb9595464815c2a3e3ecca93a7ae7f441153207;p=minitube Fixed long queries in the recent keywords list (Thanks to Vadim P.) --- diff --git a/CHANGES b/CHANGES index f91a1ab..4b8087d 100644 --- a/CHANGES +++ b/CHANGES @@ -5,6 +5,7 @@ - Fixed toolbar search suggestions working just once (Thanks to Salvatore Benedetto) - Fixed toobar search incorrect handling of keys that also represent a shortcut (like Escape or Space) - Fixed time formatting bug with videos longer than an hour (Thanks to Rene Bogusch) +- Fixed long queries in the recent keywords list (Thanks to Vadim P.) - Norwegian translation by Jan W. Skjoldal 0.8.1 - November 20, 2009 diff --git a/src/SearchView.cpp b/src/SearchView.cpp index e819e8d..62eb5dc 100644 --- a/src/SearchView.cpp +++ b/src/SearchView.cpp @@ -145,7 +145,8 @@ void SearchView::updateRecentKeywords() { + "\" style=\"color:palette(text); text-decoration:none\">" + keyword + "", this); - itemLabel->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); + itemLabel->setMaximumWidth(queryEdit->width() + watchButton->width()); + // itemLabel->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); // Make links navigable with the keyboard too itemLabel->setTextInteractionFlags(Qt::LinksAccessibleByKeyboard | Qt::LinksAccessibleByMouse);