We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is the code:
public class JavaFxTest10 extends Application { @Override public void start(Stage primaryStage) { Application.setUserAgentStylesheet(new Dracula().getUserAgentStylesheet()); ObservableList<String> items = FXCollections.observableArrayList( "Foo 1", "Foo 2", "Foo 3", "Foo 4", "Foo 5", "Foo 6" ); ListView<String> listView = new ListView<>(items); var root = new VBox(listView); root.setStyle("-fx-background-color: red"); Scene scene = new Scene(root, 400, 300); primaryStage.setScene(scene); primaryStage.show(); } public static void main(String[] args) { launch(args); } }
And this is the result:
As you see there is an extra space between items.
The text was updated successfully, but these errors were encountered:
I'm encountering the same issue. What I noticed is that the number of extra spaces in the list depends on the font size.
Sorry, something went wrong.
No branches or pull requests
This is the code:
And this is the result:
As you see there is an extra space between items.
The text was updated successfully, but these errors were encountered: