Text clock fullscreen
Closed this issue · 9 comments
Hi , i love this module , I'm trying to set the module to full screen on a single page, the primary. I would like it to expand based on the rotation of the screen.
it's possible ?
Hi @airart,
I'm glad you're enjoying the module!
To understand your question better. Do you mean that you want the clock to be "responsive". So the font-size and size of the grid should expand to the available space they have?
I've a first page in my MM that i use as clock , then it rotate to other pages , my pc can rotate from landscape to portrait so clock shuld stretch to full screen to fit ... screen :-)
Ah, so also stretch out of aspect ratio?
Right now there's only 3 size options that determine the size of the text and the grid.
An option is to add a stretch
config that makes the module stretch vertically and horizontally to its available space. Then size
and stretch
can be used in combination to style the module to preference.
Would that fit your needs? Feel free to submit a PR, I'll review it! Otherwise I'll maybe have some time left next week or the week after to try and implement it!
Hi @airart ,
I'll probably have time to work on this coming Thursday! So just a double check. Do you want the text clock to stay squared or should it stretch out of aspect ratio?
@airart I added a fullscreen
config (pushed it to master already)! Try it out and let me know if it is what you wanted!
Nice! Let me know what you think!
The position doesn't matter. I used position fixed to position the grid. Should overwrite all restrictions setup by magic mirrors position config