Fix rebase hell
@ -449,7 +449,6 @@ bg color of non edit textFields: fafafa
|
||||
|
||||
.balance-box {
|
||||
-fx-border-color: transparent -bs-rd-nav-border transparent transparent;
|
||||
/*-fx-background-color: yellow;*/
|
||||
}
|
||||
|
||||
.text-area:readonly .content {
|
||||
@ -1402,7 +1401,6 @@ textfield */
|
||||
-fx-background-color:none;
|
||||
-fx-text-fill: -bs-white;
|
||||
-fx-alignment: center;
|
||||
-jfx-unfocus-color: -bs-black;
|
||||
}
|
||||
|
||||
#invert-market-price {
|
||||
|
@ -29,14 +29,17 @@ public class AutoTooltipButton extends JFXButton {
|
||||
|
||||
public AutoTooltipButton() {
|
||||
super();
|
||||
//setButtonType(ButtonType.RAISED);
|
||||
}
|
||||
|
||||
public AutoTooltipButton(String text) {
|
||||
super(text);
|
||||
//setButtonType(ButtonType.RAISED);
|
||||
}
|
||||
|
||||
public AutoTooltipButton(String text, Node graphic) {
|
||||
super(text, graphic);
|
||||
//setButtonType(ButtonType.RAISED);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -56,8 +56,6 @@ import com.jfoenix.controls.JFXComboBox;
|
||||
import com.jfoenix.controls.JFXProgressBar;
|
||||
import com.jfoenix.controls.JFXSpinner;
|
||||
|
||||
import org.controlsfx.control.spreadsheet.Grid;
|
||||
|
||||
import javafx.scene.control.Button;
|
||||
import javafx.scene.control.ComboBox;
|
||||
import javafx.scene.control.ContentDisplay;
|
||||
@ -65,11 +63,9 @@ import javafx.scene.control.Label;
|
||||
import javafx.scene.control.ListCell;
|
||||
import javafx.scene.control.ProgressBar;
|
||||
import javafx.scene.control.Separator;
|
||||
import javafx.scene.control.TextField;
|
||||
import javafx.scene.control.ToggleButton;
|
||||
import javafx.scene.control.ToggleGroup;
|
||||
import javafx.scene.control.Tooltip;
|
||||
import javafx.scene.effect.ColorAdjust;
|
||||
import javafx.scene.effect.DropShadow;
|
||||
import javafx.scene.image.ImageView;
|
||||
import javafx.scene.input.KeyCode;
|
||||
@ -258,7 +254,7 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
|
||||
setLeftAnchor(this, 0d);
|
||||
setRightAnchor(this, 0d);
|
||||
setTopAnchor(this, 0d);
|
||||
setPadding(new Insets(0,11,0, 11));
|
||||
setPadding(new Insets(0, 11, 0, 11));
|
||||
getStyleClass().add("top-navigation");
|
||||
}};
|
||||
|
||||
@ -363,16 +359,16 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
|
||||
|
||||
ComboBox<PriceFeedComboBoxItem> priceComboBox = new JFXComboBox<>();
|
||||
priceComboBox.setVisibleRowCount(20);
|
||||
priceComboBox.setMaxWidth(170);
|
||||
priceComboBox.setMinWidth(170);
|
||||
priceComboBox.setMaxWidth(165);
|
||||
priceComboBox.setMinWidth(165);
|
||||
priceComboBox.setFocusTraversable(false);
|
||||
priceComboBox.setId("price-feed-combo");
|
||||
priceComboBox.setCellFactory(p -> getPriceFeedComboBoxListCell());
|
||||
ListCell<PriceFeedComboBoxItem> buttonCell = getPriceFeedComboBoxListCell();
|
||||
buttonCell.setId("price-feed-combo");
|
||||
priceComboBox.setButtonCell(buttonCell);
|
||||
GridPane.setRowIndex(priceComboBox,0);
|
||||
GridPane.setMargin(priceComboBox, new Insets(4,0,0,0));
|
||||
GridPane.setRowIndex(priceComboBox, 0);
|
||||
GridPane.setMargin(priceComboBox, new Insets(4, 0, 0, 0));
|
||||
gridPane.getChildren().add(priceComboBox);
|
||||
|
||||
final ImageView btcAverageIcon = new ImageView();
|
||||
@ -400,7 +396,7 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
|
||||
|
||||
GridPane.setRowIndex(btcAverageIconButton, 0);
|
||||
GridPane.setColumnIndex(btcAverageIconButton, 1);
|
||||
GridPane.setMargin(btcAverageIconButton, new Insets(15,0,0,0));
|
||||
GridPane.setMargin(btcAverageIconButton, new Insets(15, 0, 0, 0));
|
||||
gridPane.getChildren().add(btcAverageIconButton);
|
||||
|
||||
|
||||
@ -429,7 +425,7 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
|
||||
|
||||
GridPane.setRowIndex(poloniexIconButton, 0);
|
||||
GridPane.setColumnIndex(poloniexIconButton, 1);
|
||||
GridPane.setMargin(poloniexIconButton, new Insets(15,0,0,0));
|
||||
GridPane.setMargin(poloniexIconButton, new Insets(15, 0, 0, 0));
|
||||
gridPane.getChildren().add(poloniexIconButton);
|
||||
|
||||
Label marketPriceProviderLabel = new AutoTooltipLabel("Price by");
|
||||
@ -438,7 +434,7 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
|
||||
|
||||
GridPane.setRowIndex(marketPriceProviderLabel, 1);
|
||||
GridPane.setColumnIndex(marketPriceProviderLabel, 1);
|
||||
GridPane.setMargin(marketPriceProviderLabel, new Insets(2,0,0,0));
|
||||
GridPane.setMargin(marketPriceProviderLabel, new Insets(2, 0, 0, 0));
|
||||
gridPane.getChildren().add(marketPriceProviderLabel);
|
||||
|
||||
/*model.getMarketPriceUpdated().addListener((observable, oldValue, newValue) -> {
|
||||
@ -451,7 +447,7 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
|
||||
|
||||
GridPane.setRowIndex(marketPriceLabel, 1);
|
||||
GridPane.setColumnIndex(marketPriceLabel, 0);
|
||||
GridPane.setMargin(marketPriceLabel, new Insets(2,0,0,12));
|
||||
GridPane.setMargin(marketPriceLabel, new Insets(2, 0, 0, 12));
|
||||
gridPane.getChildren().add(marketPriceLabel);
|
||||
|
||||
return new Tuple2<>(priceComboBox, gridPane);
|
||||
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 307 B |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 536 B |
Before Width: | Height: | Size: 756 B After Width: | Height: | Size: 393 B |
Before Width: | Height: | Size: 841 B After Width: | Height: | Size: 655 B |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 444 B |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 730 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 604 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 731 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 523 B |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 848 B After Width: | Height: | Size: 792 B |
Before Width: | Height: | Size: 813 B After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 391 B |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 527 B |
Before Width: | Height: | Size: 918 B After Width: | Height: | Size: 496 B |
Before Width: | Height: | Size: 864 B After Width: | Height: | Size: 637 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 531 B |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 998 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 800 B |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 550 B |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 906 B After Width: | Height: | Size: 779 B |
Before Width: | Height: | Size: 730 B After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 415 B |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 686 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 568 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1010 B |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 662 B |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 975 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 2.1 KiB |