Horizontal box changing size of children

That’s pretty normal, widgets do not control their own size, it’s controlled by the parent, and affected by alignment settings.

To prevent it, wrap elements with a SizeBox - it has size override settings. Any container trying to alter children widgets’ dimensions will need to deal with the SizeBox first.

3 Likes