Mac OS: CSS padding doesn't properly center the MenuButton arrow

XMLWordPrintable

    • Type: Bug
    • Resolution: Incomplete
    • Priority: P4
    • 7-pool
    • Affects Version/s: fx2.0
    • Component/s: javafx
    • Environment:

      Mac platform.

      This issue targets MenuButton.

      I have some rules that doesn't render the same on Mac and Windows. Windows is OK, Mac has a small glitch. 2 pix diff horizontally.
      Here are my rules:
      .list-button {
          -fx-background-radius: 0.0;
          -fx-padding: 4.0;
      }
      .list-button .label {
          -fx-padding:0.0;
      }
      .list-button .arrow-button {
          -fx-padding:0.0;
      }
      .list-button {
          -fx-padding: 4.0 5.0 4.0 5.0; /* BUG, on Mac, to have it properly centered, the padding needs to be: -fx-padding: 4.0 6.0 4.0 4.0;
      }

            Assignee:
            Kevin Rushforth
            Reporter:
            Jean-Francois Denise (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: