Cameras previews don't fit to full browser window #2282

Open
opened 2026-02-28 01:08:50 -05:00 by deekerman · 3 comments
Owner

Originally created by @lowlyocean on GitHub (Aug 29, 2022).

Originally assigned to: @lowlyocean on GitHub.

With 4 cameras, I expected Layout Columns = 2, Layout Rows = 2 and Fit Frames Vertically enabled would make all previews scale to fit into equally sized quadrants as I resize the window. Is there anyway to achieve that behavior? I find myself having to scroll even when F11 my browser into full screen mode, because the bottom of the 2nd row doesn't fit the window.

Originally created by @lowlyocean on GitHub (Aug 29, 2022). Originally assigned to: @lowlyocean on GitHub. With 4 cameras, I expected Layout Columns = 2, Layout Rows = 2 and Fit Frames Vertically enabled would make all previews scale to fit into equally sized quadrants as I resize the window. Is there anyway to achieve that behavior? I find myself having to scroll even when F11 my browser into full screen mode, because the bottom of the 2nd row doesn't fit the window.
Author
Owner

@zagrim commented on GitHub (Aug 30, 2022):

Only Layout Columns does actually squeeze the frames into the available space, Layout Rows doesn't do that and that can be seen as a bug. What Fit Frames Vertically switch does is to enable Layout Rows and basically the vertical size control, so in principle you are correct with your assumption that it should work.
What is your screen resolution and the camera frame sizes?

@zagrim commented on GitHub (Aug 30, 2022): Only Layout Columns does actually squeeze the frames into the available space, Layout Rows doesn't do that and that can be seen as a bug. What Fit Frames Vertically switch does is to enable Layout Rows and basically the vertical size control, so in principle you are correct with your assumption that it should work. What is your screen resolution and the camera frame sizes?
Author
Owner

@lowlyocean commented on GitHub (Aug 30, 2022):

My screen resolution is 1920x1080. The first 3 cameras are 352x240, and the 4th camera is 320x240

@lowlyocean commented on GitHub (Aug 30, 2022): My screen resolution is 1920x1080. The first 3 cameras are 352x240, and the 4th camera is 320x240
Author
Owner

@lowlyocean commented on GitHub (Sep 7, 2022):

Mind reviewing PR? Tested with 4 cameras, various combinations of rows/columns renders as expected (with and without settings panel active, both >1200 and <1200 window width). There's no inherent reason for it to not work with different # of cameras.

@lowlyocean commented on GitHub (Sep 7, 2022): Mind reviewing PR? Tested with 4 cameras, various combinations of rows/columns renders as expected (with and without settings panel active, both >1200 and <1200 window width). There's no inherent reason for it to not work with different # of cameras.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/motioneye#2282
No description provided.