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.
Interface Builder 和运行应用程序时忽略使用edgeInsetson 。NSStackView
edgeInsets
NSStackView
NSStackView默认拥抱优先级为 250。edgeInsets仅当拥抱优先级为500 或更高时才强制执行。
重要: NSStackView有一个拥抱优先级和一个内容拥抱优先级,它们是不相同的。