mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
Use Arial unicode as embedded font
This commit is contained in:
parent
052a853aac
commit
0572d64d10
3 changed files with 5 additions and 4 deletions
|
@ -55,6 +55,7 @@ import javafx.scene.input.KeyCombination;
|
||||||
import javafx.scene.input.KeyEvent;
|
import javafx.scene.input.KeyEvent;
|
||||||
import javafx.scene.layout.Pane;
|
import javafx.scene.layout.Pane;
|
||||||
import javafx.scene.layout.StackPane;
|
import javafx.scene.layout.StackPane;
|
||||||
|
import javafx.scene.text.Font;
|
||||||
import javafx.stage.Modality;
|
import javafx.stage.Modality;
|
||||||
import javafx.stage.Stage;
|
import javafx.stage.Stage;
|
||||||
import javafx.stage.StageStyle;
|
import javafx.stage.StageStyle;
|
||||||
|
@ -162,13 +163,15 @@ public class BitsquareApp extends Application {
|
||||||
mainView.setPersistedFilesCorrupted(corruptedDatabaseFiles);
|
mainView.setPersistedFilesCorrupted(corruptedDatabaseFiles);
|
||||||
});*/
|
});*/
|
||||||
|
|
||||||
|
Font.loadFont(getClass().getResource("/fonts/Arial Unicode.ttf").toExternalForm(), 13);
|
||||||
|
|
||||||
scene = new Scene(mainView.getRoot(), 1190, 740);
|
scene = new Scene(mainView.getRoot(), 1190, 740);
|
||||||
scene.getStylesheets().setAll(
|
scene.getStylesheets().setAll(
|
||||||
"/io/bitsquare/gui/bitsquare.css",
|
"/io/bitsquare/gui/bitsquare.css",
|
||||||
"/io/bitsquare/gui/images.css");
|
"/io/bitsquare/gui/images.css");
|
||||||
|
|
||||||
// configure the system tray
|
// configure the system tray
|
||||||
SystemTray systemTray = SystemTray.create(primaryStage, shutDownHandler);
|
SystemTray.create(primaryStage, shutDownHandler);
|
||||||
|
|
||||||
primaryStage.setOnCloseRequest(event -> {
|
primaryStage.setOnCloseRequest(event -> {
|
||||||
event.consume();
|
event.consume();
|
||||||
|
|
|
@ -78,6 +78,7 @@ bg color of non edit textFields: fafafa
|
||||||
-fx-selection-bar: derive(-fx-accent, 50%);
|
-fx-selection-bar: derive(-fx-accent, 50%);
|
||||||
|
|
||||||
-fx-font-size: 13;
|
-fx-font-size: 13;
|
||||||
|
-fx-font-family: "Arial Unicode";
|
||||||
}
|
}
|
||||||
|
|
||||||
#splash {
|
#splash {
|
||||||
|
@ -213,7 +214,6 @@ bg color of non edit textFields: fafafa
|
||||||
-fx-cursor: hand;
|
-fx-cursor: hand;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* *
|
* *
|
||||||
* Tooltip *
|
* Tooltip *
|
||||||
|
@ -470,7 +470,6 @@ textfield */
|
||||||
-fx-font-size: 12;
|
-fx-font-size: 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Create offer */
|
/* Create offer */
|
||||||
#direction-icon-label {
|
#direction-icon-label {
|
||||||
-fx-font-weight: bold;
|
-fx-font-weight: bold;
|
||||||
|
@ -1040,7 +1039,6 @@ textfield */
|
||||||
-fx-text-fill: #333;
|
-fx-text-fill: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.popup-icon-information {
|
.popup-icon-information {
|
||||||
-fx-text-fill: #ddd;
|
-fx-text-fill: #ddd;
|
||||||
}
|
}
|
||||||
|
|
BIN
gui/src/main/resources/fonts/Arial Unicode.ttf
Normal file
BIN
gui/src/main/resources/fonts/Arial Unicode.ttf
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue