开发者

Possible bug in Interface Builder?

I've a window with a horizontal split view. On the bottom pane of the split view, I have a nssegm开发者_JAVA技巧entedcontrol, aligned to the center. On the bottom of the nssegmentedcontrol I have 5 tabs that are controlled by the segmented control - click in one of the cells and the corresponding tab opens.

My problem is, if I completely minimize the bottom pane, to the point where the dividing line touches the bottom of the window, the segmented control gets pushed on top of the table header and never goes back to its original place.

I've tried fiddling with IB to get this to work, but no luck. Has anyone experienced this?


Following what's on the comments, I replaced the default split view with the one found in BWToolkit that allows for the definition of minimum and maximum height of each view.


BWTookit is a no go, the framework leakes a lot.

You should use RBSplitView (google it), it also gives you option for min and max height and I started using it because of a bug in the split view as well, I used it for a chat window but the split view didn't autosave as it should, every time it got like 2px smaller, RBSplitView is great, and doesn't leak.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜