-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 @@ -11,3 +11,10 @@ KDialog::KDialog( QWidget *parent, const char *name, bool modal ) : } +#ifdef DESKTOP_VERSION +int KDialog::spacingHint() { return 7; } +int KDialog::marginHint() { return 7; } +int KDialog::spacingHintSmall() { return 4; } +int KDialog::marginHintSmall() { return 4; } + +#else int KDialog::spacingHint() { return 3; } @@ -15,3 +22,4 @@ int KDialog::marginHint() { return 3; } -int KDialog::spacingHintSmall() { if (QApplication::desktop()->width() < 700 ) return 1;else return 3; } -int KDialog::marginHintSmall() { if (QApplication::desktop()->width() < 700 ) return 1;else return 3; } +int KDialog::spacingHintSmall() { return 1; } +int KDialog::marginHintSmall() { return 1; } +#endif |