Quote:
Originally Posted by DoctorOhh
I don't know what you did but the stack widget is more vertical than before. I use it in the 3x3 mode on my tablet, previously it went from corner to corner, now there seems to be a left an right margin causing the stack to narrow.
|
Quote:
Originally Posted by kaufman
I tried a bunch of different shaped covers, and it handles all the sizes correctly with one issue. Take a look at the attached screenshot:
Shouldn't the covers be evenly spaced? It looks odd this way.
|
Both questions are related to the same thing: covers are not uniform sizes. To solve certain problems in the new grid widget and in the booklist widget, I went back to making the covers into a fixed size transparent box then painted the cover into it preserving aspect ratio. This is why the stack and cover list views seem to have more "margin". Covers are normally portrait so there is more space on the sides. These consequences didn't occur to me. I can easily change the cover list and the stack back to use the non-square widgets, making them appear as they did before.
As for the grid, there are two choices. The first is the cells are all the same size: the width of the widget / 4. Using this choice the centers of the covers are equally spaced across the widget, but the space between the covers can vary according to the aspect ratio and the space available. The following two images show what this looks like in 1x4 and 2x4.
The second is that each cover is scaled to consume the full height then laid into the widget. Under this scheme there is no regularity to the spacing. Instead the covers take the width that they need. If there isn't sufficient space then strange things happen. Consider the two following images. The first is 1x4 and the second is 2x4. In 2x2 the non-portrait cover takes almost half of the space available.
Do note that the layout of these images depends on the aspect ratio of the covers I am displaying. You will get something else with different covers.
Both approaches introduce some strange behavior. I strongly prefer the regular spacing because what it does can be explained.