I have a ScrollView (containing a NSTextEditor) whose top, left and right constraints I've correctly set to 0 relative to its container (the main window).
I can't get its height to be half of the main container. Any help?
I have a ScrollView (containing a NSTextEditor) whose top, left and right constraints I've correctly set to 0 relative to its container (the main window).
I can't get its height to be half of the main container. Any help?
If I have understood you correctly, this can be done with the following steps:
That should do.