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 8122175
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T05:44:38+00:00 2026-06-06T05:44:38+00:00

The problem here is how to add an NSPopUpButton in Xcode 4’s Interface Builder

  • 0

The problem here is how to add an NSPopUpButton in Xcode 4’s Interface Builder pane without IB also adding an (unwanted) width constraint.

In Interface Builder in Xcode 4.3 on Lion using Auto Layout, if you add a normal button to a view, Xcode will add constraints that pin the button to one of the vertical borders and one of the horizontal borders of the view. The width is determined by by the button’s intrinsic content size.

If I do the same thing with an NSPopUpButton, Interface Builder adds a width constraint to the button, that I can’t find a way to get rid of in IB.

I have tried to change the priority of the width constraint (which would suit my intent, as long as I can make it lower than my content compression resistance), but it adds a new one at 1000 immediately.

Any ideas about how to do it in Interface Builder, or do I have to do it programmatically?

  • 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-06-06T05:44:40+00:00Added an answer on June 6, 2026 at 5:44 am

    It actually turns out that there is a simple solution:

    Under the Editor menu, select Size to Fit Content (Cmd-=).

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

Sidebar

Related Questions

Hello there i'm having a problem here i have an add and edit form
Having a problem here.... I can't seem to find a good way to 'add'
I'm having a logic problem here. I want to add the result of the
I've got a huge problem here. I've managed to add javascript to my server
Hello i have new Problem with Add Form my problem here WARNING: /test.xhtml @24,173
I found an elegant solution for that problem here: xsl for-each: add code block
Maddening problem here. When my page loads: <body onload=getClientDateTime();> It runs this function: document.getElementById('ClientDateTime').value=hello
i have a little problem here. I am working on a little application wich
I'm facing a problem here : I have two tables : A users table
I have a weird problem here. When I start an Emulator, it starts up

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.