Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SearchableComboBox does not show Tooltip #1530

Open
markusbeso opened this issue Nov 14, 2023 · 2 comments
Open

SearchableComboBox does not show Tooltip #1530

markusbeso opened this issue Nov 14, 2023 · 2 comments

Comments

@markusbeso
Copy link

Although a tooltip is set for the SearchableComboBox it is not shown on hover.

Tested with version 11.2.0

@abhinayagarwal
Copy link
Member

Can you please add a SSCCE?

@markusbeso
Copy link
Author

public class SampleApp extends Application {

  @Override
  public void start(Stage primaryStage) throws Exception {

    SearchableComboBox<String> searchableComboBox = new SearchableComboBox<>();
    // tooltip is not visible
    searchableComboBox.setTooltip(new Tooltip("Search an entry"));

    ComboBox<String> cb = new ComboBox<>();
    // tooltip is visible
    cb.setTooltip(new Tooltip("Select an entry"));

    Scene scene = new Scene(new VBox(searchableComboBox, cb), 300, 300);
    primaryStage.setScene(scene);
    primaryStage.show();
  }

  public static void main(String[] args) {
    launch(args);
  }

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants