Extend row height

This commit is contained in:
Christoph Atteneder 2018-12-03 09:47:52 +01:00
parent 77989ebf91
commit 083856aace
No known key found for this signature in database
GPG key ID: CD5DC1C529CDFD3B
3 changed files with 6 additions and 0 deletions

View file

@ -1093,6 +1093,10 @@ textfield */
-fx-border-width: 0px;
}
.table-view.large-rows .table-row-cell {
-fx-cell-size: 47px;
}
.number-column.table-cell {
-fx-font-family: "IBM Plex Mono";

View file

@ -154,6 +154,7 @@ public class TransactionsView extends ActivatableView<VBox, Void> {
tableView.setColumnResizePolicy(TableView.CONSTRAINED_RESIZE_POLICY);
tableView.setPlaceholder(new AutoTooltipLabel(Res.get("funds.tx.noTxAvailable")));
tableView.getStyleClass().add("large-rows");
setDateColumnCellFactory();
setDetailsColumnCellFactory();

View file

@ -69,6 +69,7 @@ public class SpreadView extends ActivatableViewAndModel<GridPane, SpreadViewMode
@Override
public void initialize() {
tableView = new TableView<>();
tableView.getStyleClass().add("large-rows");
int gridRow = 0;
GridPane.setRowIndex(tableView, gridRow);
GridPane.setVgrow(tableView, Priority.ALWAYS);