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

[SplitMenuButton] ignores text alignment property

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an Issue
    • P4
    • None
    • 8
    • javafx
    • 8.0b83

    Description

      Run the code :

          @Override
          public void start(Stage stage) throws Exception {
              SplitMenuButton b = new SplitMenuButton();
              b.setText("Text");
              b.setMinSize(100, 100);
              b.setTextAlignment(TextAlignment.RIGHT);///It is ignored
              stage.setScene(new Scene(b));
              stage.show();
          }

      I asked right alignment, but text is still aligned on the left side (which is by default)

      Attachments

        Activity

          People

            jgiles Jonathan Giles
            akirov Alexander Kirov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: