edvin / tornadofx-controls

CSS Stylable Controls for JavaFX
Apache License 2.0
106 stars 17 forks source link

DateTimePicker Update #7

Closed ChasDouglass closed 7 years ago

ChasDouglass commented 7 years ago

I am using the DateTimePicker control allowing both user entry directly into the control, and an "injected" value based on a menu selection. When the menu selection sets the "dateTimeValue" the display is only updated (apparently) if the date changes. If just the time changes, the control does not show the change.

For instance, if the control is currently showing "06/30/2017 12:15" and my menu item sets "dateTimeValue" to LocalDateTime().now() then the field will not show the change all day on 6/30. If I set a LocalDateTime where the date is different into dateTimeValue then the field updates correctly.

edvin commented 7 years ago

Thanks for reporting. I have committed a fix for it now. Can you check if this resolves the issue for you?

ChasDouglass commented 7 years ago

Thanks, this does fix the problem.

edvin commented 7 years ago

Great! Can you use the snapshot in your project for now or do you need a release?

ChasDouglass commented 7 years ago

I'm fine using the snapshot I made locally, thanks!

edvin commented 7 years ago

Perfect! Thanks for getting back to me.