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

[SplitMenuButton] ignores text alignment property

XMLWordPrintable

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

      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)

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

              Created:
              Updated:
              Resolved:
              Imported: