This is driving me crazy!

I can't figure out how to make the green box fill all the available height...

The green box is a `NSTextView`. I can obviously give it a fixed height, but I want it to be dynamic so it fills all the available height even when resizing the window.

I'm wrapping it all inside a `VStack` which is inside a `ScrollView`.

Reply to this note

Please Login to reply.

Discussion

looks like CSS.

It’s AppKit.

But I wish it was CSS, because that would have made it a hundred times easier for me… I’m way more familiar with CSS styling than AppKit and SwiftUI.