Apple Interface Builder warning: The content rectangle doesn’t lie entirely on screen with the menu and may not be completely visible for all screens

interface-builderwarnings

A warning comes up in a MainMenu.XIB dialogue box. It says:

Object: window(window)
ID: 371
Type: Illegal Configuration
Issue: This windows content rectangle does not lie entirely on the screen with the menu bar and may not be completely visible for all screen resolutions and configurations.

I saw something related to this issue on StackOverflow, but it did not help. Here was the prior response:

In Interface builder select the window and then from the inspector go to the window size tab and move the window away from the left edge. This will get rid of the warning.

Best Answer

  1. Select window by it's title bar.
  2. Open sizing and positioning tab (++ 5 in Xcode4 and Xcode5) in inspector panel.
  3. Adjust it's position on the desktop so that it is somewhere in the middle of it.
Related Topic