author | zautrix <zautrix> | 2005-02-17 10:52:04 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-17 10:52:04 (UTC) |
commit | 002e4f8cea2352e4b9a046b98f66be946fbeb5fc (patch) (side-by-side diff) | |
tree | 7dde06f92ed54ec8ee40e68eaa312d2a2d379fb1 /kmicromail/composemail.cpp | |
parent | ec18172021a9adc0f6fa1fe80aec71e9a905a351 (diff) | |
download | kdepimpi-002e4f8cea2352e4b9a046b98f66be946fbeb5fc.zip kdepimpi-002e4f8cea2352e4b9a046b98f66be946fbeb5fc.tar.gz kdepimpi-002e4f8cea2352e4b9a046b98f66be946fbeb5fc.tar.bz2 |
desktop fix
-rw-r--r-- | kmicromail/composemail.cpp | 9 |
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 @@ -154,5 +154,12 @@ ComposeMail::ComposeMail( Settings *sett, QWidget *parent, const char *name, boo 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 } |