Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

CPSplitView not collapsing views properly. #1585

Open
dbrajkovic opened this Issue Jun 30, 2012 · 3 comments

Comments

Projects
None yet
3 participants
Contributor

dbrajkovic commented Jun 30, 2012

An innocent question by a unnamed source has led me to discover the CPSplitView is incorrectly implemented.

In CPSplitView, isSubviewCollapsed will return true if the height or width depending on split view configuration is equal to 0. However, according to NSSplitView, when a view is collapsed, the precollapsed size does not change. Instead, the hidden property of the view is set to YES.

cappbot commented Jun 30, 2012

Milestone: Someday. Label: #new. What's next? A reviewer should examine this issue.

Owner

aljungberg commented Jul 2, 2012

That's a pretty significant difference. We'd need to change the subview layout code quite a bit. Do you have a Cocoa test app?

+AppKit
+bug
+#acknowledged
+#needs-confirmation
+#needs-patch

cappbot commented Jul 2, 2012

Milestone: Someday. Labels: #acknowledged, #needs-patch, AppKit, bug. What's next? This issue needs a volunteer to write and submit code to address it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment