fix unnecessary scroll bar on market view

This commit is contained in:
woodser 2025-05-19 20:34:47 -04:00
parent 56dd6024b1
commit 06a82a26cc
No known key found for this signature in database
GPG key ID: 55A10DD48ADEE5EF

View file

@ -106,7 +106,7 @@ public class OfferBookChartView extends ActivatableViewAndModel<VBox, OfferBookC
private ListChangeListener<OfferBookListItem> changeListener;
private ListChangeListener<CurrencyListItem> currencyListItemsListener;
private final double dataLimitFactor = 3;
private final double initialOfferTableViewHeight = 82; // decrease as MainView's content-pane's top anchor increases
private final double initialOfferTableViewHeight = 78; // decrease as MainView's content-pane's top anchor increases
private final Function<Double, Double> offerTableViewHeight = (screenSize) -> {
// initial visible row count=5, header height=30
double pixelsPerOfferTableRow = (initialOfferTableViewHeight - 30) / 5.0;