author | zautrix <zautrix> | 2005-04-09 10:16:08 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-04-09 10:16:08 (UTC) |
commit | ab7957df1a71a392d71cb898b59a35c32461ec6a (patch) (unidiff) | |
tree | f25cfbfdd831f98de0f3a63d63f657064a71f68e /microkde | |
parent | d17feddd8fb61dc68c4c3ea57daaee6b8bb4d1fe (diff) | |
download | kdepimpi-ab7957df1a71a392d71cb898b59a35c32461ec6a.zip kdepimpi-ab7957df1a71a392d71cb898b59a35c32461ec6a.tar.gz kdepimpi-ab7957df1a71a392d71cb898b59a35c32461ec6a.tar.bz2 |
rec rule dialog fixes
-rw-r--r-- | microkde/kdialog.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/microkde/kdialog.cpp b/microkde/kdialog.cpp index 3d62cdd..961631e 100644 --- a/microkde/kdialog.cpp +++ b/microkde/kdialog.cpp | |||
@@ -6,12 +6,20 @@ | |||
6 | KDialog::KDialog( QWidget *parent, const char *name, bool modal ) : | 6 | KDialog::KDialog( QWidget *parent, const char *name, bool modal ) : |
7 | QDialog( parent, name, modal ) | 7 | QDialog( parent, name, modal ) |
8 | { | 8 | { |
9 | ; | 9 | ; |
10 | 10 | ||
11 | } | 11 | } |
12 | #ifdef DESKTOP_VERSION | ||
13 | int KDialog::spacingHint() { return 7; } | ||
14 | int KDialog::marginHint() { return 7; } | ||
12 | 15 | ||
16 | int KDialog::spacingHintSmall() { return 4; } | ||
17 | int KDialog::marginHintSmall() { return 4; } | ||
18 | |||
19 | #else | ||
13 | int KDialog::spacingHint() { return 3; } | 20 | int KDialog::spacingHint() { return 3; } |
14 | int KDialog::marginHint() { return 3; } | 21 | int KDialog::marginHint() { return 3; } |
15 | 22 | ||
16 | int KDialog::spacingHintSmall() { if (QApplication::desktop()->width() < 700 ) return 1;else return 3; } | 23 | int KDialog::spacingHintSmall() { return 1; } |
17 | int KDialog::marginHintSmall() { if (QApplication::desktop()->width() < 700 ) return 1;else return 3; } | 24 | int KDialog::marginHintSmall() { return 1; } |
25 | #endif | ||