Skip to content

Commit

Permalink
Fix autosuggest height
Browse files Browse the repository at this point in the history
  • Loading branch information
JJtan2002 committed Nov 7, 2024
1 parent 61b5f31 commit 30ffcbd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public void setCommandBox(CommandBox commandBox) {
private double calculateListViewHeight(ObservableList<TextFlow> items) {
double totalHeight = 0;
for (TextFlow item : items) {
totalHeight += 40; // 10 pixels padding
totalHeight += 50; // 10 pixels padding
}

return totalHeight;
Expand Down

0 comments on commit 30ffcbd

Please sign in to comment.