Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Display Name of days (Read 2791 times)
renault15
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 1
Joined: Aug 3rd, 2016
Display Name of days
Aug 3rd, 2016 at 8:54am
Print Post  
Hello to everyone,

I would like to know why when i use the Vista theme with the Single Month view, the day's names disappear ?

And so, how can i force to show the days' names with the signle month view ?

Thank you very much and sorry for my bad english ..
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Display Name of days
Reply #1 - Aug 3rd, 2016 at 11:07am
Print Post  
Hi,

This depends on the value of the GeneralFormat, FirstDayOfMonthFormat, and FirstDayOfYearFormat properties in the Calendar.MonthSettings.DaySettings object. These properties vary across themes and in Vista they are all set to "d ", which displays only the day number. Set these properties to "EEE, d" to also display the abbreviated day name:

Code
Select All
calendar.getMonthSettings().getDaySettings().setGeneralFormat("EEE, d");
calendar.getMonthSettings().getDaySettings().setFirstDayOfMonthFormat("EEE, d");
calendar.getMonthSettings().getDaySettings().setFirstDayOfYearFormat("EEE, d"); 


Let me know if this helps.

Regards,
Meppy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint