-
Bug
-
Resolution: Fixed
-
P3
-
8
This also applies to RadioButton.
Run this code to reproduce
@Override
public void start(Stage stage) throws Exception {
StackPane root = new StackPane();
final CheckBox che = new CheckBox("MinSize");
final CheckBox che2 = new CheckBox("PrefSize");
String style = "-fx-border-color:red;-fx-alignment:bottom-right;";
che.setStyle(style);
che2.setStyle(style);
che.setMinSize(150, 150);
che2.setPrefSize(150, 150);
root.getChildren().add(HBoxBuilder.create().children(che, che2).spacing(20).alignment(Pos.CENTER).build());
Scene scene = new Scene(root, 320, 300);
stage.setScene(scene);
stage.show();
stage.setTitle(VersionInfo.getRuntimeVersion());
}
Run this code to reproduce
@Override
public void start(Stage stage) throws Exception {
StackPane root = new StackPane();
final CheckBox che = new CheckBox("MinSize");
final CheckBox che2 = new CheckBox("PrefSize");
String style = "-fx-border-color:red;-fx-alignment:bottom-right;";
che.setStyle(style);
che2.setStyle(style);
che.setMinSize(150, 150);
che2.setPrefSize(150, 150);
root.getChildren().add(HBoxBuilder.create().children(che, che2).spacing(20).alignment(Pos.CENTER).build());
Scene scene = new Scene(root, 320, 300);
stage.setScene(scene);
stage.show();
stage.setTitle(VersionInfo.getRuntimeVersion());
}
- relates to
-
JDK-8123613 Incorrect ellipsis on different options of max and pref size
-
- Resolved
-
-
JDK-8115888 CheckBox render incorrectly with multi lines string and alignment
-
- Closed
-