add border to expanded transaction diagram on linux to handle some window managers

This commit is contained in:
Craig Raw 2024-01-22 09:52:32 +02:00
parent fbc49fd6f5
commit 1d32b69345

View file

@ -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)));
} }