• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Horizontal SplitView Resize Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Horizontal SplitView Resize Question


  • Subject: Re: Horizontal SplitView Resize Question
  • From: chaitanya pandit <email@hidden>
  • Date: Fri, 26 Sep 2008 00:20:49 +0530

I'm not sure but you can try limiting the min and max coordinate using:
- (CGFloat)splitView:(NSSplitView *)sender constrainMaxCoordinate: (CGFloat)proposedMax ofSubviewAt:(NSInteger)offset
- (CGFloat)splitView:(NSSplitView *)sender constrainMinCoordinate: (CGFloat)proposedMin ofSubviewAt:(NSInteger)offset


On 25-Sep-08, at 1:06 PM, Steve Cronin wrote:

Folks;

I have a horizontal split bar inside of a resizable view -the parent view grows both horizontally and vertically.
The standard behavior for horizontal split views appears to be that the the bottom view is grown or shrunk.
(In my testing this is true regardless of the resize attributes of the enclosed bottom view)
I have ALL of the resize widgets set ON for this splitView.


What I would like is the divider to stay fixed at its current height from the bottom throughout a resize and the top view to grow or shrink.
Is there a setting I am overlooking or is the way to accomplish this by overriding -splitViewDidResizeSubviews?


Thanks,
Steve
_______________________________________________

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

_______________________________________________

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


References: 
 >Horizontal SplitView Resize Question (From: Steve Cronin <email@hidden>)

  • Prev by Date: Causing systemUIServer to update the User Menu for Fast User Switching.
  • Next by Date: Interface Building help with "box" labels
  • Previous by thread: Horizontal SplitView Resize Question
  • Next by thread: NSURLDownload resumeData example
  • Index(es):
    • Date
    • Thread