From 30ffcbd82f86ebf50b99c6273a8d9bfee5b0d91a Mon Sep 17 00:00:00 2001 From: JJtan <95962077+JJtan2002@users.noreply.github.com> Date: Thu, 7 Nov 2024 22:10:52 +0800 Subject: [PATCH] Fix autosuggest height --- .../seedu/address/ui/commandpopup/AutoSuggestionTextField.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/seedu/address/ui/commandpopup/AutoSuggestionTextField.java b/src/main/java/seedu/address/ui/commandpopup/AutoSuggestionTextField.java index 06849e5c169..54b06c9cb44 100644 --- a/src/main/java/seedu/address/ui/commandpopup/AutoSuggestionTextField.java +++ b/src/main/java/seedu/address/ui/commandpopup/AutoSuggestionTextField.java @@ -249,7 +249,7 @@ public void setCommandBox(CommandBox commandBox) { private double calculateListViewHeight(ObservableList items) { double totalHeight = 0; for (TextFlow item : items) { - totalHeight += 40; // 10 pixels padding + totalHeight += 50; // 10 pixels padding } return totalHeight;