Changeset [c9b7d1e8424248a95315eec3392cd03923006be9] by Alexander Ljungberg

July 3rd, 2012 @ 02:44 AM

Refs #1559. Autosave split view positions for frame size changes.

This covers the case where the whole split view is resized and the divider moves as a consequence. For example if the split view was made much smaller the fixed position of the divider previously autosaved might not even be inside of the split view frame anymore, and on restore from autosave that side of the split view might unexpectedly become collapsed.

The new behaviour also more closely matches Cocoa's, although there is still a slight difference in implementation.
https://github.com/cappuccino/cappuccino/commit/c9b7d1e8424248a9531...

Committed by Alexander Ljungberg

  • M AppKit/CPSplitView.j
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.

Shared Ticket Bins