Calender drop-down renders incorrectly with larger font size.

Editors for WPF Forum

Posted 11 years ago by Jim Foye
Version: 12.2.0571
Platform: .NET 4.0
Environment: Windows 7 (64-bit)
Avatar

I am setting the attached property TextElement.FontSize to something larger (15) up the tree, so as to increase the font size on everything in the control. The days in the calender drop down are now cut off. The other parts (current date and time, month + year) seem to render correctly.

Comments (1)

Answer - Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Jim,

The problem here is that the dropdown height is set for the DateTimeEditBox to 200 via both the MinDropDownHeight and MaxDropDownHeight properties.  If you increase that, it will get things rendering properly.

You could just set the max height to be larger but then if you change to decade and century views, the drop-down may resize.


Actipro Software Support

The latest build of this product (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.