MagicMirror² v2.4.1 is available! For more information about this release, check out this topic.
Please read the release notes carefully since this update requires adjustments to your Raspberry Pi configuration!

Calendar module maxTitleLength is not working



  • Hi !
    So long story short:
    I’m using the default Calendar module. Because I’m using a small display i cannot have long Entries. Therefore i am using “maxTitleLength” but it’s not working…
    This is my configuration:

    {
    			module: "calendar",
    			header: "xx",
    			position: "top_right",
    			config: {
    				colored: true,
    					calendars: [
    					
    						{
    							url: 'xxxxxxxxxxxxx',
    							symbol: 'graduation-cap',
    							color: "#F05203",
    							maximumEntries: '5',
    							maximumNumberOfDays: '2',
    							maxTitleLength: '10',
    						},
    						
    								],
    					}		
    		},```
    
    Thank You.. :)

  • Moderator

    maxTitleLength should be an option inside config, not inside the calendars array. Try moving it to the same level as colored.



  • Ok that worked, but the Problem changed… now the calendar module is going over my weather modul.
    They are top_left and top_right but they don’t auto adjust… any clue?