Skip to content

Commit

Permalink
Add headings to lists
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodyishappy committed Apr 4, 2024
1 parent 754ecac commit 43c091f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/resources/view/DarkTheme.css
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,12 @@
-fx-text-fill: white;
}

.cell_head_label {
-fx-font-family: "Segoe UI Semibold";
-fx-font-size: 20px;
-fx-text-fill: white;
}

.cell_big_label {
-fx-font-family: "Segoe UI Semibold";
-fx-font-size: 16px;
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/view/PersonListPanel.fxml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ListView?>
<?import javafx.scene.layout.VBox?>

<VBox xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1">
<Label fx:id="listname" text="List of Person" styleClass="cell_head_label" />
<ListView fx:id="personListView" VBox.vgrow="ALWAYS" />
</VBox>
2 changes: 2 additions & 0 deletions src/main/resources/view/TaskListPanel.fxml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ListView?>
<?import javafx.scene.layout.VBox?>

<VBox xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1">
<Label fx:id="listname" text="List of Task" styleClass="cell_head_label" />
<ListView fx:id="taskListView" VBox.vgrow="ALWAYS" />
</VBox>

0 comments on commit 43c091f

Please sign in to comment.