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

Button : button border render not correctly

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P3
    • Resolution: Fixed
    • 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(1,5,1);
              slider.setValue(3);
              button.scaleXProperty().bindBidirectional(slider.valueProperty());
              button.scaleYProperty().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

            rbair Richard Bair (Inactive)
            slugovoy Sergey Lugovoy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: