From 63caa9975b63c8d778c4030928ea73536ce56b67 Mon Sep 17 00:00:00 2001 From: Tang Hao Liang Date: Mon, 8 Apr 2024 15:12:11 +0800 Subject: [PATCH] Fix issue with not displaying of long names, address, description and task tags --- src/main/resources/view/DarkTheme.css | 2 ++ src/main/resources/view/PersonListCard.fxml | 6 +++--- src/main/resources/view/TaskListCard.fxml | 12 ++++-------- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/src/main/resources/view/DarkTheme.css b/src/main/resources/view/DarkTheme.css index 9d9891c3960..fbecd2b9f2a 100644 --- a/src/main/resources/view/DarkTheme.css +++ b/src/main/resources/view/DarkTheme.css @@ -355,5 +355,7 @@ -fx-border-radius: 2; -fx-background-radius: 2; -fx-font-size: 11; + -fx-wrap-text: true; + -fx-max-width: 300; } diff --git a/src/main/resources/view/PersonListCard.fxml b/src/main/resources/view/PersonListCard.fxml index 1c14e09ed4c..5abc01496d8 100644 --- a/src/main/resources/view/PersonListCard.fxml +++ b/src/main/resources/view/PersonListCard.fxml @@ -25,11 +25,11 @@ -