Grid will be based on https://github.com/gridstack/gridstack.js
Layout will be:
- "Freeform"
- 2 Wide, 3 Wide, 4 Wide, 6 Wide, 8 Wide, maybe 12 Wide
- User customizable.
Because grid elements are scalable, then it is probably necessary to change “Scale” for each element. But, when doing
Code: Select all
monitor.setScale(newscale, width, height)
As far as I understand, it is not possible to change “Scale” during the translation process (when there is a “connKey” attribute)?if (this.connKey) {
/* Can just tell it to scale, in fact will happen automatically on next query */
The "scale=10" attribute for IMG also has no effect.
Further.... With "Scale" it is not clear at all. There are options to select "Auto", "2x", "4x", etc., but there is a limitation in MonitorStream.js:
Code: Select all
if (newscale > 100) newscale = 100;
P.s. And in general, is “Scale” needed on the Montage page, provided that all elements (monitors) are scalable?
P.s.2 I plan to remove the "Width" and "Height" settings, because... Now I don’t know what to apply it to, if the dimensions of the element (monitor) can be changed using the mouse.