MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-CalendarExt3 How to define font size based on number of weeks in month

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    2 Posts 2 Posters 343 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      ascii27
      last edited by

      Hi all. Here’s my question…

      I’m talking about a monthly view.
      June 2024 starts on a Saturday and the last day is on a Sunday which means the monthly view displays 6 rows.
      July 2024 displays 5 rows.
      February 2026 starts on a Sunday and ends on a Saturday and only displays 4 rows.

      I can set the font so that June with 6 rows fits on the monitor, but then a “short” month, like February 2026 would leave a ton of blank space.

      How can I dynamically change the font to account for these different cases?

      Thanks so much

      M 1 Reply Last reply Reply Quote 0
      • M Offline
        MMRIZE @ascii27
        last edited by

        @ascii27
        At this moment, impossible. (Maybe you can manually adjust CSS with the year and month dataset, but it could not be very pleasant and bother things.)
        But I’ll consider it in the next update.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy