mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-19 23:36:00 -04:00
Increase with of rows in market view offer book tables
This commit is contained in:
parent
30c827fe3c
commit
02485c03ee
@ -153,7 +153,7 @@ public class BitsquareApp extends Application {
|
||||
mainView.setPersistedFilesCorrupted(corruptedDatabaseFiles);
|
||||
});*/
|
||||
|
||||
scene = new Scene(mainView.getRoot(), 1100, 740);
|
||||
scene = new Scene(mainView.getRoot(), 1150, 740);
|
||||
scene.getStylesheets().setAll(
|
||||
"/io/bitsquare/gui/bitsquare.css",
|
||||
"/io/bitsquare/gui/images.css");
|
||||
|
@ -166,14 +166,14 @@ public class MarketsChartsView extends ActivatableViewAndModel<VBox, MarketsChar
|
||||
TableView<Offer> tableView = new TableView<>();
|
||||
tableView.setMinHeight(100);
|
||||
tableView.setMaxHeight(100);
|
||||
tableView.setMinWidth(490);
|
||||
tableView.setMinWidth(530);
|
||||
tableView.setMouseTransparent(true);
|
||||
|
||||
// price
|
||||
TableColumn<Offer, Offer> priceColumn = new TableColumn<>();
|
||||
priceColumn.textProperty().bind(priceColumnLabel);
|
||||
priceColumn.setMinWidth(120);
|
||||
priceColumn.setMaxWidth(120);
|
||||
priceColumn.setMinWidth(130);
|
||||
priceColumn.setMaxWidth(130);
|
||||
priceColumn.setSortable(false);
|
||||
priceColumn.setCellValueFactory((offer) -> new ReadOnlyObjectWrapper<>(offer.getValue()));
|
||||
priceColumn.setCellFactory(
|
||||
@ -197,8 +197,8 @@ public class MarketsChartsView extends ActivatableViewAndModel<VBox, MarketsChar
|
||||
// amount
|
||||
TableColumn<Offer, Offer> amountColumn = new TableColumn<>("Amount (BTC)");
|
||||
amountColumn.setText("Amount (BTC)");
|
||||
amountColumn.setMinWidth(120);
|
||||
amountColumn.setMaxWidth(120);
|
||||
amountColumn.setMinWidth(130);
|
||||
amountColumn.setMaxWidth(130);
|
||||
amountColumn.setSortable(false);
|
||||
amountColumn.setCellValueFactory((offer) -> new ReadOnlyObjectWrapper<>(offer.getValue()));
|
||||
amountColumn.setCellFactory(
|
||||
@ -221,8 +221,8 @@ public class MarketsChartsView extends ActivatableViewAndModel<VBox, MarketsChar
|
||||
|
||||
// volume
|
||||
TableColumn<Offer, Offer> volumeColumn = new TableColumn<>();
|
||||
volumeColumn.setMinWidth(120);
|
||||
volumeColumn.setMaxWidth(120);
|
||||
volumeColumn.setMinWidth(130);
|
||||
volumeColumn.setMaxWidth(130);
|
||||
volumeColumn.setSortable(false);
|
||||
volumeColumn.textProperty().bind(volumeColumnLabel);
|
||||
volumeColumn.setCellValueFactory((offer) -> new ReadOnlyObjectWrapper<>(offer.getValue()));
|
||||
@ -246,7 +246,7 @@ public class MarketsChartsView extends ActivatableViewAndModel<VBox, MarketsChar
|
||||
|
||||
// payment method
|
||||
TableColumn<Offer, Offer> paymentMethodColumn = new TableColumn<>("Payment method");
|
||||
paymentMethodColumn.setMinWidth(120);
|
||||
paymentMethodColumn.setMinWidth(130);
|
||||
paymentMethodColumn.setSortable(false);
|
||||
paymentMethodColumn.setCellValueFactory((offer) -> new ReadOnlyObjectWrapper<>(offer.getValue()));
|
||||
paymentMethodColumn.setCellFactory(
|
||||
|
@ -33,7 +33,6 @@ import javafx.collections.ObservableList;
|
||||
import javafx.geometry.HPos;
|
||||
import javafx.geometry.Insets;
|
||||
import javafx.geometry.Orientation;
|
||||
import javafx.scene.Camera;
|
||||
import javafx.scene.PerspectiveCamera;
|
||||
import javafx.scene.Scene;
|
||||
import javafx.scene.control.*;
|
||||
@ -506,9 +505,7 @@ public abstract class Overlay<T extends Overlay> {
|
||||
));
|
||||
} else if (type.animationType == AnimationType.ScaleYFromCenter) {
|
||||
gridPane.setRotationAxis(Rotate.X_AXIS);
|
||||
Camera camera = gridPane.getScene().getCamera();
|
||||
gridPane.getScene().setCamera(new PerspectiveCamera());
|
||||
|
||||
keyFrames.add(new KeyFrame(Duration.millis(0),
|
||||
new KeyValue(gridPane.rotateProperty(), 0, interpolator),
|
||||
new KeyValue(gridPane.opacityProperty(), 1, interpolator)
|
||||
|
@ -45,6 +45,7 @@ public class TacWindow extends Overlay<TacWindow> {
|
||||
closeButtonText("I disagree and quit");
|
||||
onAction(() -> preferences.setTacAccepted(true));
|
||||
onClose(BitsquareApp.shutDownHandler::run);
|
||||
|
||||
super.show();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user