• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Subview and window size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subview and window size


  • Subject: Re: Subview and window size
  • From: Kevin Walzer <email@hidden>
  • Date: Sat, 19 Dec 2009 12:56:37 -0500
  • Organization: WordTech Communications LLC

On 12/18/09 8:36 AM, Graham Cox wrote:


The *view is supposed to take up the entire window, and my idea is to have the subview do so, as well. However, when I add the subview DNDView (which is supposed to be registered to receive file drags), it does not take up the whole window--it takes up approximately 1/4th of the window.

How can I get the subview to be the same size as its parent view?

It is the same size, it's just not in the right place, is my guess.

Let me clarify what I'm trying to do: I want the subview to be the same dimensions as the entire window. That would mean, basically, that I want it its frame to be the same as the frame for the window's contentView.


Right now it's not the same size. Right now it takes up 1/4 of the window.

How do I set the bounds/geometry to be the same as the toplevel frame in the window?

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Subview and window size
      • From: Quincey Morris <email@hidden>
References: 
 >Subview and window size (From: Kevin Walzer <email@hidden>)
 >Re: Subview and window size (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Detecting system protected folders.
  • Next by Date: iPhone Simulator auto-rotation touches detection bug?
  • Previous by thread: Re: Subview and window size
  • Next by thread: Re: Subview and window size
  • Index(es):
    • Date
    • Thread