summaryrefslogtreecommitdiffabout
path: root/kmicromail
authorzautrix <zautrix>2005-02-17 10:52:04 (UTC)
committer zautrix <zautrix>2005-02-17 10:52:04 (UTC)
commit002e4f8cea2352e4b9a046b98f66be946fbeb5fc (patch) (side-by-side diff)
tree7dde06f92ed54ec8ee40e68eaa312d2a2d379fb1 /kmicromail
parentec18172021a9adc0f6fa1fe80aec71e9a905a351 (diff)
downloadkdepimpi-002e4f8cea2352e4b9a046b98f66be946fbeb5fc.zip
kdepimpi-002e4f8cea2352e4b9a046b98f66be946fbeb5fc.tar.gz
kdepimpi-002e4f8cea2352e4b9a046b98f66be946fbeb5fc.tar.bz2
desktop fix
Diffstat (limited to 'kmicromail') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/composemail.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/kmicromail/composemail.cpp b/kmicromail/composemail.cpp
index 3231b45..7b609fc 100644
--- a/kmicromail/composemail.cpp
+++ b/kmicromail/composemail.cpp
@@ -153,7 +153,14 @@ ComposeMail::ComposeMail( Settings *sett, QWidget *parent, const char *name, boo
connect( SaveSigButton, SIGNAL( clicked() ), SLOT( saveSig()) );
if ( smtpAccountBox->count())
fillValues(0);
-
+#ifdef DESKTOP_VERSION
+ if ( QApplication::desktop()->width() <= 800 ) {
+ resize( QApplication::desktop()->size() );
+ } else
+ resize( 800, 600 );
+ if ( QApplication::desktop()->width() >= 640 )
+ senderNameEdit->setFixedWidth( 200 );
+#endif
}
void ComposeMail::fillSettings()