Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7575731
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T16:45:06+00:00 2026-05-30T16:45:06+00:00

I have a 10.6 app that I am building on Lion with Xcode 4.3

  • 0

I have a 10.6 app that I am building on Lion with Xcode 4.3

There is a horizontal split view in the main view, containing the following:

The top view contains an NSSearchField with an NSTableView below it.

The bottom view contains a WebView.

I have it working, but when I resize the split view the top view behaves oddly.

What I want to happen is for the search field to remain where it is, the tableview to remain where it is, but to expand if the split view is dragged down. If dragged up, I want the webview to overwrite the search field and table view.

You can see what I mean in this clip: http://dl.dropbox.com/u/160638/Work/TENSOFT/resizemostlyokay.mov

This keeps the things in the right place when I drag up, but doesn’t expand the table when I drag down. The view is expanded, but not the table.

So, I changed the autosizing constraint on the table view / scroll view to make it expand when the view is resized. This is what happens: http://dl.dropbox.com/u/160638/Work/TENSOFT/resizeproblem.mov

When the split bar is moved upwards the table view is moved upwards inside the top view until it overwrites the search field. It doesn’t move back when the bar is moved back down.

I cannot find a way to make this work by changing the autosizing constraints. This is usually pretty easy stuff, so either I’m missing something obvious or…?

Has anyone seen this behaviour before when creating SL apps on Lion with Xcode 4.3?

FYI, if I replicate this in a new 10.7 project using auto-layout everything works fine.

Regards

Darren.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T16:45:07+00:00Added an answer on May 30, 2026 at 4:45 pm

    When you allow an NSSplitView to make one of its subviews very small so that the subviews effectively overlap you get layout issues and this is one of the reasons that Apple introduced auto-layout (watch the WWDC video about auto-layout and I think they demo this problem near the beginning).

    If I were you I’d set a minimum size for the top pane so that, for example, it stops resizing when it is 100px high. You can then allow it to collapse so that the user can still show just the WebView.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an app that I'm building with XCode 4.2. It has push, and
Basically I have a web app that I'm building on top of an existing
I have a relatively small app that Im building using vb.net 2.0, and nant.
I have an MVC3/EF4.1 app that I'm building which now works fine on my
I have a web app that I'm building. It uses 3 different web services
I have an app that's about presenting fictional simplified cities. Please consider the following
I have a basic Ruby app that I am building with Sinatra, Datamapper and
I have set up some gesture recognition in an app that I'm building. One
I am building an app that has two types of users: regular users (have
I have an ASP.NET MVC app that I have been building, and I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.