Skip to content
Snippets Groups Projects
Commit d30ff8de authored by Tobias Ullerich's avatar Tobias Ullerich
Browse files

Fix background radius for drag overlay

parent ec6ff3e6
Branches
Tags
No related merge requests found
...@@ -31,7 +31,7 @@ public class FileDragOptionView implements PadContentFactory.PadContentTypeChoos ...@@ -31,7 +31,7 @@ public class FileDragOptionView implements PadContentFactory.PadContentTypeChoos
optionPane = new HBox(); optionPane = new HBox();
optionPane.prefWidthProperty().bind(parent.widthProperty()); optionPane.prefWidthProperty().bind(parent.widthProperty());
optionPane.prefHeightProperty().bind(parent.heightProperty()); optionPane.prefHeightProperty().bind(parent.heightProperty());
optionPane.setBackground(new Background(new BackgroundFill(new Color(0.2, 0.2, 0.2, 0.8), new CornerRadii(5), new Insets(0)))); optionPane.setBackground(new Background(new BackgroundFill(new Color(0.2, 0.2, 0.2, 0.8), new CornerRadii(10), new Insets(0))));
optionPane.setAlignment(Pos.CENTER); optionPane.setAlignment(Pos.CENTER);
optionPane.setPadding(new Insets(5)); optionPane.setPadding(new Insets(5));
optionPane.setSpacing(5); optionPane.setSpacing(5);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment