Skip to content

Commit

Permalink
Slightly changed position of navigation elements (back, forward, toda…
Browse files Browse the repository at this point in the history
…y) and date label.
  • Loading branch information
dlemmermann committed Aug 31, 2022
1 parent e2c1364 commit 6e23708
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.calendarfx.view.page.PageBase;
import impl.com.calendarfx.view.NavigateDateView;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.Node;
import javafx.scene.control.SkinBase;
import javafx.scene.layout.BorderPane;
Expand Down Expand Up @@ -54,6 +55,8 @@ public PageBaseSkin(C page) {

BorderPane.setMargin(navigateDateButton, new Insets(10));
BorderPane.setMargin(dateText, new Insets(10));
BorderPane.setAlignment(navigateDateButton, Pos.CENTER_LEFT);
BorderPane.setAlignment(dateText, Pos.CENTER_RIGHT);

headerPane = new BorderPane();
headerPane.getStyleClass().add("header");
Expand Down

0 comments on commit 6e23708

Please sign in to comment.