Skip to content

Commit

Permalink
Add header
Browse files Browse the repository at this point in the history
  • Loading branch information
IzN432 committed Oct 24, 2024
1 parent 52ee1b4 commit d7b69f5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/resources/view/Calendar.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<?import javafx.scene.layout.VBox?>

<VBox xmlns="http://javafx.com/javafx/21" xmlns:fx="http://javafx.com/fxml/1">
<Label styleClass="label-calendar-header" prefHeight="20.0" text="20 October 2024 - 26 October"/>
<HBox>

<VBox prefWidth="50.0" HBox.hgrow="NEVER" />
Expand Down
7 changes: 6 additions & 1 deletion src/main/resources/view/DarkTheme.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

.label-hour {
-fx-text-fill: white;
-fx-font-size: 8px;
-fx-font-size: 10px;
}

.icon {
Expand Down Expand Up @@ -305,3 +305,8 @@
-fx-background-radius: 20;
-fx-padding: 2 5 2 5;
}

.label-calendar-header {
-fx-text-fill: white;
-fx-font-size: 14px;
}

0 comments on commit d7b69f5

Please sign in to comment.