diff --git a/simpleexample2/fxui/src/main/java/simpleex/ui/LatLongCell.java b/simpleexample2/fxui/src/main/java/simpleex/ui/LatLongCell.java index 08c3cc756df0ba63b9805038d81c3e8982a08718..16594d13720a710d0e100b05cbaa1efb86ca39a5 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); - } } }