mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-04 11:36:53 -04:00
panel shape is right
This commit is contained in:
parent
48ee2d269c
commit
2605cb11c4
2 changed files with 7 additions and 3 deletions
|
@ -428,7 +428,7 @@ public class OfferBookChartView extends ActivatableViewAndModel<VBox, OfferBookC
|
|||
|
||||
private Tuple4<TableView<OfferListItem>, VBox, Button, Label> getOfferTable(OfferDirection direction) {
|
||||
TableView<OfferListItem> tableView = new TableView<>();
|
||||
GUIUtil.applyTableStyle(tableView);
|
||||
GUIUtil.applyTableStyle(tableView, false);
|
||||
tableView.setMinHeight(initialOfferTableViewHeight);
|
||||
tableView.setPrefHeight(initialOfferTableViewHeight);
|
||||
tableView.setMinWidth(480);
|
||||
|
|
|
@ -1085,7 +1085,11 @@ public class GUIUtil {
|
|||
}
|
||||
|
||||
public static void applyTableStyle(TableView<?> tableView) {
|
||||
applyRoundedArc(tableView);
|
||||
applyTableStyle(tableView, true);
|
||||
}
|
||||
|
||||
public static void applyTableStyle(TableView<?> tableView, boolean applyRoundedArc) {
|
||||
if (applyRoundedArc) applyRoundedArc(tableView);
|
||||
applyEdgeColumnStyleClasses(tableView);
|
||||
}
|
||||
|
||||
|
@ -1100,7 +1104,7 @@ public class GUIUtil {
|
|||
});
|
||||
}
|
||||
|
||||
public static <T> void applyEdgeColumnStyleClasses(TableView<T> tableView) {
|
||||
private static <T> void applyEdgeColumnStyleClasses(TableView<T> tableView) {
|
||||
ListChangeListener<TableColumn<T, ?>> columnListener = change -> {
|
||||
updateEdgeColumnStyleClasses(tableView);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue