question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

JFXDialog transparent background and white borders on Android 5.1.1.

See original GitHub issue

Hello! I have a problem with JFXDialog on Android 5.1.1.

screenshot_2018-02-07-09-30-00

My source code:

        StackPane main = new StackPane();
        main.setPadding(new Insets(8.0));

        JFXButton jfxButton = new JFXButton("Button");

        jfxButton.setOnAction((PushButtonAction) -> {
            JFXTextField jfxTextField = new JFXTextField();
            jfxTextField.setPromptText("Text field");
            jfxTextField.setLabelFloat(true);
            StackPane pane = new StackPane(jfxTextField);
            pane.setPadding(new Insets(16.0));
            JFXDialog dialog = new JFXDialog(main, pane, JFXDialog.DialogTransition.TOP);
            dialog.show();            
        });
        main.getChildren().add(jfxButton);
        final Scene scene = new Scene(main, 300, 200);
        stage.setTitle("JFX Test Demo");
        stage.setScene(scene);
        stage.show();

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:7

github_iconTop GitHub Comments

2reactions
jfoenixadmincommented, Feb 9, 2018

try adding the following css to your project:

.jfx-dialog-overlay-pane > StackPane {
    -fx-background-color: WHITE;
}
0reactions
stale[bot]commented, Jan 7, 2019

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

JFXDialog transparent background and white borders on ...
Hello! I have a problem with JFXDialog on Android 5.1.1. My source code: StackPane main = new StackPane(); main.setPadding(new Insets(8.0)); ...
Read more >
Dialog with transparent background in Android - Stack Overflow
This is the default solid grey/white you see. To allow the color defined in android:background in your custom style to be transparent and ......
Read more >
android custom dialog transparent background - YouTube
https://demonuts.com/ android -custom- dialog -with- transparent - background This article is on Android Custom Dialog With Transparent Background ...
Read more >
HTML Standard
1.3 Background; 1.4 Audience; 1.5 Scope; 1.6 History; 1.7 Design notes ... 3.2.5.3 Transparent content models; 3.2.5.4 Paragraphs. 3.2.6 Global attributes.
Read more >
Download this Yellow Pop Style Star Dialog Explosion Box ...
Download this Yellow Pop Style Star Dialog Explosion Box Element, Star Clipart, Yellow, Pop PNG clipart image with transparent background for free.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found