English 中文(简体)
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
原标题:

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.

问题回答
  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.

I had the same problem with Xcode 4.5.2

What I ended up doing is also clicking on the window s title bar -> "Show the size inspector" tab.

Then I just toggled the struts & springs in the preview area. Without really changing anything other than toggling on/off.

Toggling these fixed the warning.

None of the above worked for me.

For me it seems that my MainWindow s width was too large. I found that at a 1024 it quit giving me the warning!





相关问题
How to suppress GCC warnings from library headers?

I have a project that uses log4cxx, boost, etc. libraries whose headers generate lots of (repetitive) warnings. Is there a way to suppress warnings from library includes (i.e. #include <some-header....

how do i get mysql warning messages in php (not error)

i want to execute a sql at php which does something like changing a text column into int column. however, this sql failed to fun at php and succeeds in my mysql admin tool (sqlyog). server responses "...

what do these ruby warnings mean?

cqq.rb:96 **warning: Statement not reached.** /root/newpackage/lib.rb:727 **warning: instance variable @object not initialized** Error: Your application used more memory than the safety cap of 500m. ...

热门标签