Add header to my vote icon column

This commit is contained in:
sqrrm 2018-12-06 23:24:09 +01:00
parent 13b7016bf2
commit d3498ade5c
No known key found for this signature in database
GPG Key ID: 45235F9EF87089EC
2 changed files with 3 additions and 2 deletions

View File

@ -1595,6 +1595,7 @@ dao.proposal.display.option=Option
dao.proposal.table.header.proposalType=Proposal type
dao.proposal.table.header.link=Link
dao.proposal.table.header.myVote=My vote
dao.proposal.table.icon.tooltip.removeProposal=Remove my proposal
dao.proposal.table.icon.tooltip.changeVote=Current vote: ''{0}''. Change vote to: ''{1}''

View File

@ -819,8 +819,8 @@ public class ProposalsView extends ActivatableView<GridPane, Void> implements Bs
tableView.getColumns().add(column);
column = new TableColumn<>();
column.setMinWidth(50);
column = new TableColumn<>(Res.get("dao.proposal.table.header.myVote"));
column.setMinWidth(60);
column.setMaxWidth(column.getMinWidth());
column.getStyleClass().add("last-column");
column.setCellValueFactory((item) -> new ReadOnlyObjectWrapper<>(item.getValue()));