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

TextArea initial appearance is corrupted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • 8
    • 8
    • javafx
    • jdk1.8.0b94

      import javafx.application.Application;
      import javafx.scene.Scene;
      import javafx.scene.control.Button;
      import javafx.scene.control.TextArea;
      import javafx.scene.layout.HBox;
      import javafx.scene.layout.Pane;
      import javafx.scene.layout.VBox;
      import javafx.stage.Stage;

      public class TextAreaSample extends Application {

          public static void main(String[] args) {
              launch(args);
          }

          @Override
          public void start(Stage stage) throws Exception {
              Pane pane = new Pane();
              pane.setPrefSize(600, 600);
              pane.getChildren().add(new Button("Button"));

              HBox root = new HBox(3);
              root.getChildren().add(pane);
              root.getChildren().add(new VBox(new Button("Button"), new TextArea()));

              stage.setScene(new Scene(root, 800, 600));
              stage.show();
          }
      }

            jgiles Jonathan Giles
            dzinkevi Dmitry Zinkevich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: