Hello Ellen, If the GUI is done by coding, the programer can use those static methods: #include * KDialogBase::marginHint() * KDialogBase::spacingHint() They return the number of pixels for margins (arround dialogs borders) and spacings (between GUI components) in pixels. I however don't know where it's configured, if it's not hardcoded. If it's configurable, then it doesn't matter if it's in pixels, isn't it? Using them make the dialogs (and other windows, of course: those functions are usable from anywhere in the code) margins/spacings consistent. I think it's better to advise those methods instead of saying a number of pixels... I don't know how we can get them when using Qt Designer! Best regards, Sébastien Laoût.