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.
私はその中NSBoxにNSTableView座っています。テーブルのスクロールを無効にし、NSTableView のエントリ数に合わせて NSBox のサイズを自動変更しようとしましたが、方法がわかりません...何か助けはありますか?
NSBox
NSTableView
これを自動的に行うことはできません。テーブル ビューのサイズを監視し、それに合わせてボックスのサイズを変更するコードを記述する必要があります。
これは奇妙な UI のように聞こえますが、何を達成しようとしているのでしょうか?