I'm not sure what started causing this issue, but the components inside my flex containers won't stretch completely. Below, I have a label component inside a column flex container. The 'alignItems' and 'alignContent' properties in the flex container's root are both set to stretch. Another thing I noticed is when I set grow to 1 on the label, it doesn't grow all the way vertically. It's almost as if there is a padding/margin of about 15px on the right edge and the bottom edge. But there are no paddings or margins configured at all on the container and the label. Has anyone else had this issue before?
You must have a margin, padding or gap in there somewhere or some other css style causing this. Have you tried inspecting your component on the web browser with ctrl+shift+i?
You should have an icon allowing you to select an element of you page and inspect its html and css like I've done here on the forum.
It will also highlight with a color the margins an paddings of the element.
You could also try to remove any style you have on all those components or create it again in a new view to see if you're getting the same result.
Have you used the Advanced Stylesheet feature or CSS "injection" before? There was probably some unintentional styling by not being specific enough in your selection.
To test this, create a new view and replicate the setup. Also, create a Row Flex Container and drop a label in that one (with the same settings as above) and see if its the same. That should give you an idea of where the custom CSS is likely defined.
I think this is what you are referring to (Correct me if I'm wrong).
But the purple shaded region I think is the flex container. You can see that there is still a small margin/padding being created on the right and bottom edge (in green). And unless I'm looking at the script incorrectly, I don't think there is a margin or padding on both the flex container and the label in css.
That looks like the correct element is selected. Can you scroll down in the styles pane on the right and show more of the styles there? You have a custom theme (light-TGMS.css) so there may be styles further down.
I actually found what was creating those margins. I had 'overflow' set to scroll in the root container. (You can see it in one of the screenshots from earlier) I guess when overflow was set to scroll, the view/component automatically created margins to account for a scroll bar being there even though the scroll bar was not present. I don't know the fine details of how the scrollbar affects the view's styling but I removed overflow and it fixed the issue.