Another scenario (https://bugs.openjdk.org/browse/JDK-8364049 ) where the toolbar overflow button is erroneously displayed with fractional scale:
public class ToolbarBugApp extends Application {
@Override
public void start(Stage primaryStage) {
ToolBar tb = new ToolBar(
new Separator(Orientation.VERTICAL),
new Button("Create Schema"));
BorderPane bp = new BorderPane();
bp.setTop(new HBox(tb));
primaryStage.setScene(new Scene(bp, 600, 400));
primaryStage.show();
}
public class ToolbarBugApp extends Application {
@Override
public void start(Stage primaryStage) {
ToolBar tb = new ToolBar(
new Separator(Orientation.VERTICAL),
new Button("Create Schema"));
BorderPane bp = new BorderPane();
bp.setTop(new HBox(tb));
primaryStage.setScene(new Scene(bp, 600, 400));
primaryStage.show();
}
- relates to
-
JDK-8364049 ToolBar shows overflow menu with fractional scale
-
- Resolved
-
-
JDK-8374568 ToolBarSkinTest fails on all platforms
-
- Closed
-
- links to
-
Commit(master)
openjdk/jfx/5b97edf6
-
Review(master)
openjdk/jfx/2016