diff --git a/app/src/main/java/com/dlsc/jfxcentral2/app/stage/CustomStage.java b/app/src/main/java/com/dlsc/jfxcentral2/app/stage/CustomStage.java index 005cbbfb..c21713bc 100644 --- a/app/src/main/java/com/dlsc/jfxcentral2/app/stage/CustomStage.java +++ b/app/src/main/java/com/dlsc/jfxcentral2/app/stage/CustomStage.java @@ -65,10 +65,7 @@ public CustomStage(Stage stage, Node node, SessionManager sessionManager) { titleBar.getLabel().setText("JFXCentral"); if (!WebAPI.isBrowser()) { - VBox vBox = new VBox(titleBar); - vBox.setPadding(new Insets(0, 0, 2, 0)); - vBox.setAlignment(Pos.CENTER_RIGHT); - setTop(vBox); + setTop(titleBar); } centerProperty().bind(contentProperty());