Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8292740

DialogPane without header doesn't add padding for the graphic node to the left of the content pane

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • jfx19
    • javafx
    • None

      When there is no header and the graphic is laid out to the left of the content area, the padding of the graphic container that is currently set via modena.css is:

      .dialog-pane:no-header > * > .graphic-container {
          -fx-padding: 0.833em 0 0 0.833em; /* 10px 0px 0px 10px */
      }

      but the right/bottom padding shouldn't be 0, probably the same padding for all sides would be expected.

      See attached test and picture.

            jpereda Jose Pereda
            jpereda Jose Pereda
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: