Columns overflows inside a container #290
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @LauGroupie95, converting this to a discussion (we can create an issue if something needs to be worked on in Bento itself). About your issue, I agree it’s a bit confusing but it’s currently working as intended, since the proportions of columns are about the width of the container, so if you sum the widths of the columns you get the total width, but that does not include the gaps. So if you manually specify 1/5 + 1/5 + 1/5 + 2/5 you get the total width + (4 * gap width). In general, I don’t think it makes too much sense to specify each width individually, you normally want some constraints, and then let the rest of the columns fill the gaps proportionally. In you specific example, I would specify the width only for the 2/5 column and the let others share the space automatically. Concretely this: Does it make sense? |
Beta Was this translation helpful? Give feedback.
Hi @LauGroupie95, converting this to a discussion (we can create an issue if something needs to be worked on in Bento itself).
About your issue, I agree it’s a bit confusing but it’s currently working as intended, since the proportions of columns are about the width of the container, so if you sum the widths of the columns you get the total width, but that does not include the gaps.
So if you manually specify 1/5 + 1/5 + 1/5 + 2/5 you get the total width + (4 * gap width).
In general, I don’t think it makes too much sense to specify each width individually, you normally want some constraints, and then let the rest of the columns fill the gaps proportionally.
In you specific example, I wou…