Merging scrolling/clipping with NSStackView
Merging scrolling/clipping with NSStackView
- Subject: Merging scrolling/clipping with NSStackView
- From: Daryle Walker <email@hidden>
- Date: Thu, 19 Jan 2017 09:39:53 -0500
Right now, my window has a table view sitting on top of a text view. Those templates from Interface Builder have those NSViews surrounded by a clip view surrounded by a scroll view. But I want to flip that around; put the table and text views together in a stack view, and surround that with clip and scroll views as necessary.
The stack view should be as wide as the window. The table and text views should be as wide as their stack view. The inner views should be as tall as they need to be. (The text view should be one line high if there's no text.) I'm thinking of putting a horizontal line between the inner views
Any ideas how to do this?
Sent from my iPhone
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden