MaterialFX icon indicating copy to clipboard operation
MaterialFX copied to clipboard

MFXFilterComboBox doesn`t show the items

Open Homeshevchuk opened this issue 2 years ago • 3 comments

FilterComboBox doesn`t show the items on first opening if the items list contains only 1 item.

Homeshevchuk avatar Apr 15 '22 08:04 Homeshevchuk

Can you share a minimal reproducible example please?

palexdev avatar Apr 17 '22 22:04 palexdev

It doesn't work for me either. Here's an MRE.

import io.github.palexdev.materialfx.controls.MFXFilterComboBox;
import javafx.scene.layout.BorderPane;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class Test extends javafx.application.Application {
    public void start(Stage stage) {
        MFXFilterComboBox box = new MFXFilterComboBox<String>();
        box.getItems().add("test");
        stage.setScene(new Scene(new BorderPane(box), 400, 400));
        stage.setTitle("Test");
        stage.show();
    }
    public static void main(String[] args) {
        launch(args);
    }
}

Tech-Expert-Wizard avatar Apr 25 '22 14:04 Tech-Expert-Wizard

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 23 '22 17:05 stale[bot]