Re: adding subViews, not showing up
Re: adding subViews, not showing up
- Subject: Re: adding subViews, not showing up
- From: crucial felix <email@hidden>
- Date: Sat, 25 Jan 2003 20:49:55 -0500
On Saturday, January 25, 2003, at 02:58 PM, crucial felix wrote:
solved this finally.
hello.
in response to a user action (clicking a button), I'm adding some
views inside
of a SlotView which is a subclass of NSBox.
The SlotView appears, but the num (NSTextField) and slider (NSSlider)
are not
visible. Using F-Script Anywhere, i can inspect the slot view, and it
has a contentView
which is a simple NSView, which has two subviews: the num and slider.
and they have the correct frame sizes !
but i can't see them.
what i failed to mention was that this SlotView was inside an
NSSplitView.
the bounds at the time the Slots are created are large (height: 600),
but once it gets
resized, they are small (height: 77). the SlotViews were positioned on
the upper (min) Y edge,
so they were there, and they had the right size, but they were up above
the box's bounds.
-felix
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.