簡體   English   中英

Apple Interface Builder警告:內容矩形並不完全位於屏幕上,而是可能無法完全顯示所有屏幕

[英]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

MainMenu.XIB對話框中出現警告。 它說:

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.

我在StackOverflow上看到了與此問題相關的內容,但它沒有幫助。 以下是先前的回復:

在“界面”構建器中,選擇窗口,然后從檢查器轉到窗口大小選項卡,並將窗口從左邊緣移開。 這將擺脫警告。

  1. 按標題欄選擇窗口。
  2. 在檢查器面板中打開大小調整和定位選項卡(X代碼4和Xcode5中的 + + 5 )。
  3. 調整它在桌面上的位置,使其位於桌面中間的某個位置。

我在Xcode 4.5.2中遇到了同樣的問題

我最終做的還是點擊窗口的標題欄 - >“顯示尺寸檢查器”選項卡。

然后我只是在預覽區域中切換支柱和彈簧。 除了切換開/關之外,沒有真正改變任何東西。

切換這些固定的警告。

以上都不適合我。

對我來說,似乎我的MainWindow的寬度太大了。 我發現它在1024處退出給我警告!

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM