Commit 57fa16fa authored by George Adrian Stoica's avatar George Adrian Stoica

added javadoc and changed the default heit for empty cells

parent 08df1d16
......@@ -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);
}
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment