Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我将选择器放在堆栈视图中时,我遇到了选择器大小的问题。选择器在放入堆栈视图时会将其大小更改为默认大小。当它们未放入堆栈视图时,它们不会这样做
只需将高度和宽度约束添加到您的选择器,然后再将其添加到您的堆栈视图,这应该可以解决您的问题。