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.
当我最大化/最小化 NSWindow 时,它内部的 XIB/NSBox 不会改变它的位置。如果我们最大化窗口,它们会保持在相同的位置。我尝试设置自动调整蒙版以从四面八方以及水平和垂直方向扩展,但它不起作用。我可以添加什么额外的东西来让它工作,或者我需要在 IB 中做的事情。
面具是这样设置的。