summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-02-23 22:47:25 (UTC)
committer harlekin <harlekin>2002-02-23 22:47:25 (UTC)
commitf1c800025cf759ca0d6257a42f548216d217b16b (patch) (unidiff)
tree42aa7b339aad4b6dcfc6b17d4931febbb17b591d
parent9f9006e0257e3d4c5d66331a7d6061c8a5da164b (diff)
downloadopie-f1c800025cf759ca0d6257a42f548216d217b16b.zip
opie-f1c800025cf759ca0d6257a42f548216d217b16b.tar.gz
opie-f1c800025cf759ca0d6257a42f548216d217b16b.tar.bz2
make the two bottom menus the same height (the buttons)
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/launcherview.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/launcher/launcherview.cpp b/core/launcher/launcherview.cpp
index 0df949e..764f088 100644
--- a/core/launcher/launcherview.cpp
+++ b/core/launcher/launcherview.cpp
@@ -451,20 +451,22 @@ void LauncherView::setToolsEnabled(bool y)
451{ 451{
452 if ( !y != !tools ) { 452 if ( !y != !tools ) {
453 if ( y ) { 453 if ( y ) {
454 tools = new QHBox(this); 454 tools = new QHBox(this);
455 455
456 // Type filter 456 // Type filter
457 typemb = new MenuButton(tools); 457 typemb = new MenuButton(tools);
458 typemb->setLabel(tr("Type: %1")); 458 typemb->setLabel(tr("Type: %1"));
459 459 typemb->setFixedHeight ( 20 );
460
460 // Category filter 461 // Category filter
461 catmb = new CategorySelect(tools); 462 catmb = new CategorySelect(tools);
462 463 catmb->setFixedHeight ( 20 );
464
463 updateTools(); 465 updateTools();
464 tools->show(); 466 tools->show();
465 } else { 467 } else {
466 delete tools; 468 delete tools;
467 tools = 0; 469 tools = 0;
468 } 470 }
469 } 471 }
470} 472}