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

[SplitMenuButton] ignores text alignment property

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 8
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
    • Environment:

      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

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: