Skip to content

Commit

Permalink
Remove some test code
Browse files Browse the repository at this point in the history
  • Loading branch information
besidev committed Oct 13, 2023
1 parent 201338b commit 3abddb5
Showing 1 changed file with 1 addition and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
import javafx.beans.property.StringProperty;
import javafx.collections.WeakListChangeListener;
import javafx.scene.Node;
import javafx.scene.control.ScrollPane;
import javafx.scene.control.SelectionMode;
import javafx.scene.layout.StackPane;
import javafx.scene.layout.VBox;
import one.jpro.platform.file.ExtensionFilter;
import one.jpro.platform.file.WebFileSource;
import one.jpro.platform.file.picker.FilePicker;
Expand All @@ -32,16 +29,7 @@ public final class WebFilePicker extends BaseFilePicker<WebFileSource> {
public WebFilePicker(Node node) {
super(node);

//
VBox filesVBox = new VBox();
filesVBox.getStyleClass().add("mf-files");
ScrollPane filesScrollPane = new ScrollPane(filesVBox);
filesScrollPane.setFitToWidth(true);
StackPane filesContainer = new StackPane(filesScrollPane);
filesContainer.getStyleClass().add("mf-files-container");
//

multiFileUploader = WebAPI.makeMultiFileUploadNodeStatic(filesContainer);
multiFileUploader = WebAPI.makeMultiFileUploadNodeStatic(node);
multiFileUploader.setSelectFileOnClick(true);

extensionListFiltersListener = change -> {
Expand Down

0 comments on commit 3abddb5

Please sign in to comment.