mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-05 05:46:44 +00:00
fix regression with expanded transaction diagram dark theme background
This commit is contained in:
parent
02e0fd1357
commit
1c7abc1b24
1 changed files with 6 additions and 5 deletions
|
@ -82,13 +82,14 @@ public class TransactionDiagram extends GridPane {
|
||||||
scenePane.setBorder(new Border(new BorderStroke(Color.DARKGRAY, BorderStrokeStyle.SOLID, CornerRadii.EMPTY, BorderWidths.DEFAULT)));
|
scenePane.setBorder(new Border(new BorderStroke(Color.DARKGRAY, BorderStrokeStyle.SOLID, CornerRadii.EMPTY, BorderWidths.DEFAULT)));
|
||||||
}
|
}
|
||||||
|
|
||||||
VBox vBox = new VBox(20);
|
scenePane.getStylesheets().add(AppServices.class.getResource("general.css").toExternalForm());
|
||||||
vBox.getStylesheets().add(AppServices.class.getResource("general.css").toExternalForm());
|
|
||||||
if(Config.get().getTheme() == Theme.DARK) {
|
if(Config.get().getTheme() == Theme.DARK) {
|
||||||
vBox.getStylesheets().add(AppServices.class.getResource("darktheme.css").toExternalForm());
|
scenePane.getStylesheets().add(AppServices.class.getResource("darktheme.css").toExternalForm());
|
||||||
}
|
}
|
||||||
vBox.getStylesheets().add(AppServices.class.getResource("wallet/wallet.css").toExternalForm());
|
scenePane.getStylesheets().add(AppServices.class.getResource("wallet/wallet.css").toExternalForm());
|
||||||
vBox.getStylesheets().add(AppServices.class.getResource("wallet/send.css").toExternalForm());
|
scenePane.getStylesheets().add(AppServices.class.getResource("wallet/send.css").toExternalForm());
|
||||||
|
|
||||||
|
VBox vBox = new VBox(20);
|
||||||
vBox.setPadding(new Insets(20, 40, 20, 50));
|
vBox.setPadding(new Insets(20, 40, 20, 50));
|
||||||
|
|
||||||
expandedDiagram = new TransactionDiagram();
|
expandedDiagram = new TransactionDiagram();
|
||||||
|
|
Loading…
Reference in a new issue