MenuButton and SplitMenuButton's textFill properties are broken

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • fx2.1
    • Affects Version/s: fx2.1
    • Component/s: javafx
    • None

      When setting the text fill property of a MenuButton or SplitMenu button it has no effect. Example code:

              MenuButton mb = MenuButtonBuilder.create().text("MenuButton2").items(new MenuItem("Item A"),new MenuItem("Item B"),new MenuItem("Item C")).build();
              mb.setTextFill(Color.RED);
              mb.setGraphic(new Circle(5, Color.RED));
              mb.setFont(Font.font("system", 30));

      The menu buttons text should be RED but is not.

      I think the bug is LabeledImpl doesn't handle textFill property it seems like it needs to be bound up as well.

            Assignee:
            David Grieve
            Reporter:
            Jasper Potts (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: