Use Arial unicode as embedded font

This commit is contained in:
Manfred Karrer 2016-06-22 13:50:27 +02:00
parent 052a853aac
commit 0572d64d10
3 changed files with 5 additions and 4 deletions

View file

@ -55,6 +55,7 @@ import javafx.scene.input.KeyCombination;
import javafx.scene.input.KeyEvent;
import javafx.scene.layout.Pane;
import javafx.scene.layout.StackPane;
import javafx.scene.text.Font;
import javafx.stage.Modality;
import javafx.stage.Stage;
import javafx.stage.StageStyle;
@ -162,13 +163,15 @@ public class BitsquareApp extends Application {
mainView.setPersistedFilesCorrupted(corruptedDatabaseFiles);
});*/
Font.loadFont(getClass().getResource("/fonts/Arial Unicode.ttf").toExternalForm(), 13);
scene = new Scene(mainView.getRoot(), 1190, 740);
scene.getStylesheets().setAll(
"/io/bitsquare/gui/bitsquare.css",
"/io/bitsquare/gui/images.css");
// configure the system tray
SystemTray systemTray = SystemTray.create(primaryStage, shutDownHandler);
SystemTray.create(primaryStage, shutDownHandler);
primaryStage.setOnCloseRequest(event -> {
event.consume();

View file

@ -78,6 +78,7 @@ bg color of non edit textFields: fafafa
-fx-selection-bar: derive(-fx-accent, 50%);
-fx-font-size: 13;
-fx-font-family: "Arial Unicode";
}
#splash {
@ -213,7 +214,6 @@ bg color of non edit textFields: fafafa
-fx-cursor: hand;
}
/*******************************************************************************
* *
* Tooltip *
@ -470,7 +470,6 @@ textfield */
-fx-font-size: 12;
}
/* Create offer */
#direction-icon-label {
-fx-font-weight: bold;
@ -1040,7 +1039,6 @@ textfield */
-fx-text-fill: #333;
}
.popup-icon-information {
-fx-text-fill: #ddd;
}

Binary file not shown.