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

SplitMenuButton and Button has different text color

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • 7u6
    • fx2.1
    • javafx
    • 2.1 b11, WinXP, hardware rendering

      run next code

              HBox hbox = new HBox();
              hbox.getChildren().addAll(new Button("ONE"), new Button("ONE"), SplitMenuButtonBuilder.create().text("ONE").build());
              stage.setScene(new Scene(hbox));
              stage.show();

      note that word ONE on buttons looks different then one on the SplitMenuButton

      see attached screenshot and color comparison top part of E button

        1. btnFontIssueMac.png
          btnFontIssueMac.png
          7 kB
        2. button.PNG
          button.PNG
          10 kB
        3. unmodified screenshot.jpg
          unmodified screenshot.jpg
          3 kB
        4. unscaledFontIssue.PNG
          unscaledFontIssue.PNG
          2 kB
        5. win7fontIssue.PNG
          win7fontIssue.PNG
          32 kB

            thor Thor Johannesson (Inactive)
            sgrinev Sergey Grinev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: