mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 13:16:44 +00:00
add border to expanded transaction diagram on linux to handle some window managers
This commit is contained in:
parent
fbc49fd6f5
commit
1d32b69345
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ public class TransactionDiagram extends GridPane {
|
||||||
stage.setResizable(false);
|
stage.setResizable(false);
|
||||||
|
|
||||||
StackPane scenePane = new StackPane();
|
StackPane scenePane = new StackPane();
|
||||||
if(Platform.getCurrent() == Platform.WINDOWS) {
|
if(Platform.getCurrent() == Platform.WINDOWS || Platform.getCurrent() == Platform.UNIX) {
|
||||||
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)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue