holo-schedule
holo-schedule copied to clipboard
[FEATURE] BIG Screen mode
Is your feature request related to a problem? Please describe. HoloSchedule is rendered in a fixed size area which does not look well on screens with a 4K resolution.
Describe the solution you'd like A toggle in Settings should turn the extension into a big-screen mode...
Describe alternatives you've considered or the extension itself is able to detect the screen size and fit.
Additional context So that more stuff can be rendered into the view, such as the time table.
https://developer.mozilla.org/en-US/docs/Web/API/Screen/width
Persoanlly, I have a screen of 13' (1920 * 1080), 24' (1920 * 1080), 32' (3840 * 2160 with 150% scale in system settings). Rendering the area at the 1.33x size on the 32' screen should be fine: 2160 / 150% / 1080 = 1.33.
Saddly, There seems to be a max size limit of 800w and 600h for an extension popup in Chrome.... https://source.chromium.org/chromium/chromium/src/+/master:chrome/browser/ui/views/extensions/extension_popup.h;l=65 https://stackoverflow.com/questions/8983165/how-can-i-expand-the-popup-window-of-my-chrome-extension
Currently, holo-schedule is rendered in a 375*596 area by default. There is no hope to make this area higher but it is possible to make it wider.
A 2-column layout? or a Grid?