I’ve created a StackView in Xcode 15 utilizing ViewController to rearrange the calculator buttons in a grid, however I am encountering a difficulty the place the button sizes routinely shrink. This prevents me from evenly distributing them horizontally.
I realized from a tutorial web site that setting the Distribution to ‘Fill Equally’ would permit for equal spacing. I attempted it, however as proven within the picture, the buttons ended up shrinking.
(Notice: I have not set any constraints.)
(Notice: I’ve connected pictures of each the supposed remaining format and the present state.)
Is there any further setup required to rearrange the buttons neatly? I would recognize it for those who may counsel an answer that does not contain utilizing Swift code!
The picture is what I need to do!
The picture under exhibits the state the place every button finally ends up shrinking.