Read the statement by Michael Teeuw here.
Position of module moves
-
I’ve been trying to position a module (compliments) better to gain more real estate on the screen. I was successfully able to move it in the custom.css file, but once the compliments module reaches the interval timer and updates to a new compliment, it moves back to the original position on the screen. I’m at a loss as to why this is happening. Can anybody point me or guide me as to why this is happening?
Thanks!
-
@krazykraka Why don’t you use
positioninconfig.js?
Every time the module should be redrawn(via.getDom()),MagicMirrorputs the DOM into the region container which is defined in yourconfig.js. -
So, if you want to hook this mechanism, You should modify your module not to be dependent on
.getDom(), and you should draw and insert your DOM by yourself. -
Ok gotcha. I’ll give that a try after work. Thanks!
-
@Sean It worked! Thanks! Time to continue on the other modules.
