Allow UI to adapt to mobile screens
As part of the GNOME Mobile apps initiative, it'd be great to have GNOME Photos working with smaller screens. I've done a bit of experimenting and there are two things preventing the UI from working at smaller widths:
- The default thumbnail size is too large at 256 pixels when displayed at 3 across. This leaves the minimum width of the application at 768 pixels. I can see two paths forward for this:
- Reduce the minimum number of photos "per line" to 1
- Reduce the unscaled size of the images from 256 pixels
- While reducing it to say 100px would fit many mobile screens, I'm wondering if it's possible to make this value be calculated based on the width of the screen?
- The stack switcher in the header bar takes up too much space.
- The GNOME Games project had a similar issue and they were able to solve it by using an Action Bar once the width of the application became too small. I think this would work well in this case for the Photos app as well.
I'm willing to help out with the work, but I was hoping to get some feedback on what the maintainers feel is a good approach before I get started. I think it should be quite possible to support mobile screens without compromising the desktop experience!