DatePicker size issue

PLOCON Andreea andreea.plocon at
Tue Nov 27 07:18:32 UTC 2018

Dear all,

I am currently trying to display a DatePicker using org.openjfx:openjfx:12-ea+2:windows-x64_bin.
Therefor I am using the following code:

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.DatePicker;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;

public class DatePickerIssue extends Application {

      public void start(Stage stage) {
            VBox vBox = new VBox(new DatePicker());
             stage.setScene(new Scene(vBox));

      public static void main(String[] args) {

The DatePicker is not shown completely and as a quick fix I used vBox.setStyle("-fx-padding: 0 0 10 0;").
Could someone please tell me if this is a known issue and how can it be fixed?

Thanks in advance!

Best regards,

More information about the openjfx-dev mailing list