mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 18:03:12 +01:00
Dynamic list view size in Dao network monitor view
This commit is contained in:
parent
7e7d956f05
commit
637071c956
@ -27,6 +27,7 @@
|
||||
AnchorPane.topAnchor="15"/>
|
||||
|
||||
<ScrollPane fitToWidth="true" hbarPolicy="NEVER"
|
||||
fitToHeight="true"
|
||||
AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="270.0"
|
||||
AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<AnchorPane fx:id="content" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0"
|
||||
|
@ -247,6 +247,7 @@ public abstract class StateMonitorView<StH extends StateHash,
|
||||
createColumns();
|
||||
GridPane.setRowIndex(tableView, gridRow);
|
||||
GridPane.setHgrow(tableView, Priority.ALWAYS);
|
||||
GridPane.setVgrow(tableView, Priority.SOMETIMES);
|
||||
GridPane.setMargin(tableView, new Insets(Layout.FIRST_ROW_AND_GROUP_DISTANCE, -10, -25, -10));
|
||||
root.getChildren().add(tableView);
|
||||
|
||||
@ -267,7 +268,8 @@ public abstract class StateMonitorView<StH extends StateHash,
|
||||
createConflictColumns();
|
||||
GridPane.setRowIndex(conflictTableView, gridRow);
|
||||
GridPane.setHgrow(conflictTableView, Priority.ALWAYS);
|
||||
GridPane.setMargin(conflictTableView, new Insets(Layout.FIRST_ROW_AND_GROUP_DISTANCE, -10, -25, -10));
|
||||
GridPane.setVgrow(conflictTableView, Priority.SOMETIMES);
|
||||
GridPane.setMargin(conflictTableView, new Insets(Layout.FIRST_ROW_AND_GROUP_DISTANCE, -10, 5, -10));
|
||||
root.getChildren().add(conflictTableView);
|
||||
|
||||
conflictTableView.setItems(sortedConflictList);
|
||||
|
Loading…
Reference in New Issue
Block a user