Closed miyconst closed 9 years ago
refresh
method is called?auto
, the gutter is 25. See the picture:
3 - So most probably the lowe tiles affect grid column size, as they also have fix/flex sizes, we need to compromise, plus as the the gutter is fixed, then for example fixed size space between 4 and 5 makes that part of 0 also fixed - and that affects proportion between 0 and 1.
In more details, if you have 5 tiles (A,B,C,D, and the space is a gutter):
AAA BB
C D EE
and to simplify things, all tiles are flexible, each column, is 100px, gutter is 100px as well.
then column setup would be: 100fr 100px 100fr 100px 200fr
therefore, if you re-size the element the size ratio A:B
will be (200+100px):200
not 300:200
.
To keep the ration 300:200 you would need either remove C,D, and E, or wrap A and B within a "tight group" (not implemented yet, but planned)
After your explanation, I still don't understand why
50% + 25% + 25%
equals to 50% + 250px + 25%
when 250px
is less than 25%
.
why 50% + 25% + 25% equals to 50% + 250px + 25% when 250px is less than 25%.
It does not,as there are no columns with such sizes. Could you show me sizes of other tiles?
@miyconst Is there anything left, that requires further explanation/changes/are there any features missing?
Can we close this issue?
Yes. I close this issue, and will create new if something comes up.
Continuation to https://github.com/Juicy/juicy-tile-grid/issues/8
Why do the first and the third tiles change their size?