The dropdown calendar on my c1DateEdit control looks strange. It is very narrow, and the margins are very close. I haven't set any formatting at all - just dropped it on a form. It does not look like the calendars in the help file.
How do I fix this? I would post a screen shot but I don't see any way to do that.
<camainc2> wrote in message news:206310@10.0.1.98... The dropdown calendar on my c1DateEdit control looks strange. It is very narrow, and the margins are very close. I haven't set any formatting at all - just dropped it on a form. It does not look like the calendars in the help file. How do I fix this? I would post a screen shot but I don't see any way to do that. http://helpcentral.componentone.com/cs/forums/p/75658/206310.aspx#206310
Hi,
I got the same issue with the latest c1DateEdit (V. 2.0.20082.33212). I found this is a designer issue: there are stored only very few properties for the calendar in the Designer-generated code (DayNameLength, DayNamesFont, Font, TitleFont, VisualStyleBaseStyle)
Hope for a quick fix - thanks!
Regards
Robert
Just found a simple workaround: Open the Calendar Property of the C1DateEdit control in the designer and set the VisualStyle property of the Calendar (not the C1DateEdit!) - then obviously the designer code is updated and the appearance is ok.
Setting the VisualStyle property is necessary twice sometimes I found; the first time some colors of the Calendar are set; the second time the properties are set according to the selected style (e.g. Office2007Blue).
hth,
I tried the work-around mentioned above, but it did not work for me. I have attached a screenshot of how the calendar looks when I drop the control onto a form and do not set any properties.
The version is 2.0.20073.33104.
I sure hope there is a quick fix for this!
Using v 2.0.20091.33227. This control is REALLY messed up.
Found a partial workaround to its ugliness:
The WORST of the problem is that the drop-down calendar subcontrol is extremely narrowed ... In the current version, the default DayNameLength is 2; in prior editions, it appears to have been 3. I reset the DayNameLength to 3 and the control looks better. NOT good, but better than before.
Setting the width does not work ... as far as I can see, the Calendar.Width is NOT available to set.
Is there any way to set the background of the "Today" box so that it is more visible?
Another problem: if you set the VisualStyle to one of the three Office2007-based syles, it looks better than the "System" style -- but there is a significant gap between the 6th and 7th day colums (between Friday and Saturday for me). If you set the VisualStyle to one of the Office2007 styles, compile, then set the VisualStyle to "Custom" (but do nothing else!) that gap goes away.
Yet another problem: When I tried to set properties such as the TitleForeColor and TitleBackColor on a "custom" style based on the Office2007 styles, my changes were ignored.
Has anyone figured out a solution to this yet?
I just installed the latest Input build (2.0.20092.33232) and it still appears strange.