From aa6d19015bc91ae3af021d766d37a473e125278f Mon Sep 17 00:00:00 2001 From: zautrix Date: Tue, 22 Mar 2005 22:55:32 +0000 Subject: fixes --- (limited to 'kmicromail/viewmailbase.cpp') diff --git a/kmicromail/viewmailbase.cpp b/kmicromail/viewmailbase.cpp index 3a41ba0..3bb964e 100644 --- a/kmicromail/viewmailbase.cpp +++ b/kmicromail/viewmailbase.cpp @@ -4,6 +4,7 @@ #include #include #include +#include #include #include @@ -72,10 +73,12 @@ ViewMailBase::ViewMailBase(QWidget *parent, const char *name, WFlags fl) setCentralWidget(view); attachments = new QListView(view); - attachments->setMinimumHeight(90); - attachments->setMaximumHeight(90); + int fixh = 100; + if ( QApplication::desktop()->width() > 320 ) + fixh = 200; + attachments->setFixedHeight(fixh); attachments->setAllColumnsShowFocus(true); - attachments->addColumn("Mime Type", 60); + attachments->addColumn("Mime Type", fixh-30); attachments->addColumn(i18n("Description"), 100); attachments->addColumn(i18n("Filename"), 80); attachments->addColumn(i18n("Size"), 80); -- cgit v0.9.0.2