Skip to content

Commit 09b1f37

Browse files
committed
Use default size for date picker
1 parent c0cf1bd commit 09b1f37

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ViewFactory.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,9 @@ public static T Create<T>(int? width = null, int? height = null, string? text =
251251

252252
SetDefaultDimensions(newView, width ?? 16, height ?? 5);
253253
break;
254+
case DatePicker:
255+
// Use defaults
256+
break;
254257
case SpinnerView sv:
255258
sv.AutoSpin = true;
256259
if ( width is not null )

0 commit comments

Comments
 (0)