Fix constraint error caused by not having a width constraint on our nested buttonsStackViews. This was caused because we have layoutMargins on these nested buttonsStackViews but those views didn't have a width set to constrain the layoutMargins to. Setting leading and trailing anchors to the parent stack view allows the layout to know where to inset the layoutMargins from.
Summary of changes
buttonsStackView
s. This was caused because we havelayoutMargins
on these nestedbuttonsStackView
s but those views didn't have a width set to constrain thelayoutMargins
to. Setting leading and trailing anchors to the parent stack view allows the layout to know where to inset thelayoutMargins
from.Checklist
Authors