From 57fa16faec56446870fc69c87bd9b7b07f8e9f72 Mon Sep 17 00:00:00 2001
From: Adrian Stoica <george.a.stoica@ntnu.no>
Date: Fri, 11 Oct 2019 18:23:02 +0200
Subject: [PATCH] added javadoc and changed the default heit for empty cells

---
 .../fxui/src/main/java/simpleex/ui/LatLongCell.java         | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/simpleexample2/fxui/src/main/java/simpleex/ui/LatLongCell.java b/simpleexample2/fxui/src/main/java/simpleex/ui/LatLongCell.java
index 08c3cc7..16594d1 100644
--- a/simpleexample2/fxui/src/main/java/simpleex/ui/LatLongCell.java
+++ b/simpleexample2/fxui/src/main/java/simpleex/ui/LatLongCell.java
@@ -5,7 +5,7 @@ import javafx.scene.layout.Region;
 import simpleex.core.LatLong;
 
 /**
- * 
+ * Renderer for a listview item containg a LatLong object
  * @author Adrian Stoica
  *
  */
@@ -17,14 +17,12 @@ public class LatLongCell extends ListCell<LatLong> {
 		if(empty || location == null) {
           setText(null);
           setGraphic(null);
-		  setPrefHeight(25.0);
+		  setPrefHeight(30.0);
 		} else {
 		  LatLongCellController latLongCellController = new LatLongCellController();
 		  latLongCellController.setLatLong(location);
 		  setGraphic(latLongCellController.getCellView(this.isSelected()));
 		  setPrefHeight(Region.USE_COMPUTED_SIZE);
-		  //setPrefHeight(50.0);
-		  
 		}
 	}
 }
-- 
GitLab