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

Button render incorrectly after rotate

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3
    • 8
    • 8
    • javafx
    • linux, jdk 1.8.0-ea-b56, SWPipeline

    Description

      Run this code -

       @Override
          public void start(Stage stage) throws Exception {
              BorderPane root = new BorderPane();
              Button button = new Button("Button");
              button.setFocusTraversable(false);
              root.setCenter(button);
              Slider slider = new Slider(0,360,10);
              slider.setValue(45);
              button.rotateProperty().bindBidirectional(slider.valueProperty());
              root.setTop(slider);
              
              Scene scene = new Scene(root, 300, 300);
              stage.setScene(scene);
              stage.setTitle(VersionInfo.getRuntimeVersion());
              stage.show();
          }

      Attachments

        Activity

          People

            msoch Martin Ĺ och
            slugovoy Sergey Lugovoy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: