-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
DatePicker expands horizontally infinitely #1245
Comments
Are you on a Mac by any chance? Does this work: |
Yes on Mac, I fixed it by setting max, min and preferred size to a fixed value. Not setting one of these causes the bug, which doesn't seem to make a whole lot of sense. |
Setting the font size to an odd number worked for me. weird though. |
Here are some of the findings I found on this issue while working on this issue: -Width isn't modified at instantiation; this means that setting MaxWidth for the element changes nothing except for the starting point of the growth Hope this helps! |
Adding a JFXDatePicker to any pane programmatically or via fxml causes it to gradually expand horizontally infinitely regardless of any constraints set on the date picker or the pane.
The Datepicker remains completely functional, see video below.
Screen.Recording.2022-07-26.at.5.23.35.PM.mov
The text was updated successfully, but these errors were encountered: