Forces the height of the date picker to 216 points to prevent smaller height on compact height size classes.
Whenever the dialog is shown while in a compact height size class (for example in landscape mode on smaller phones) the DatePicker invokes its default behaviour of autoresizing its height to 162 points on initialisation. Since the dialog is build with the expectation of a 216 point DatePicker this smaller DatePicker looks out place.
The fix for this is to explicitly set the DatePicker height to 216.
Forces the height of the date picker to 216 points to prevent smaller height on compact height size classes.
Whenever the dialog is shown while in a compact height size class (for example in landscape mode on smaller phones) the DatePicker invokes its default behaviour of autoresizing its height to 162 points on initialisation. Since the dialog is build with the expectation of a 216 point DatePicker this smaller DatePicker looks out place.
The fix for this is to explicitly set the DatePicker height to 216.