code: private void setHeadlessPadding() {
          if (dialogType == DialogType.INPUT_TEXT) {
              bodyContainer.setStyle(
                      PreDefinedStyle.INPUT_DIALOG_HEADLESS_PADDING.getStyle());
  
          } else if (dialogType == DialogType.EXCEPTION) {
              bodyContainer.setStyle(
                      PreDefinedStyle.EXCEPTION_DIALOG_HEADLESS_PADDING.getStyle());
          } else {
              bodyContainer.setStyle(
                      PreDefinedStyle.HEADLESS_PADDING.getStyle());
          }
      }
docs: Sets the padding for a headless dialog