From 080f083c5fd2b58ecdb9ffa26ffcd1a9105973a1 Mon Sep 17 00:00:00 2001 From: Dirk Lemmermann Date: Thu, 5 Dec 2024 17:55:57 +0100 Subject: [PATCH] Removed redundant size check. --- .../src/main/java/com/dlsc/gemsfx/demo/PagingListViewApp.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gemsfx-demo/src/main/java/com/dlsc/gemsfx/demo/PagingListViewApp.java b/gemsfx-demo/src/main/java/com/dlsc/gemsfx/demo/PagingListViewApp.java index 333f26d3..7d9210be 100644 --- a/gemsfx-demo/src/main/java/com/dlsc/gemsfx/demo/PagingListViewApp.java +++ b/gemsfx-demo/src/main/java/com/dlsc/gemsfx/demo/PagingListViewApp.java @@ -21,8 +21,8 @@ public class PagingListViewApp extends Application { public void start(Stage stage) { PagingListView pagingListView = new PagingListView<>(); pagingListView.setPrefWidth(400); - pagingListView.setTotalItemCount(305); - pagingListView.setPageSize(15); + pagingListView.setTotalItemCount(7); + pagingListView.setPageSize(10); pagingListView.setLoader(lv -> { if (Math.random() > .75) { try {