FROM : crucial felix
DATE : Sun Jan 26 02:49:55 2003
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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Sun Jan 26 02:49:55 2003
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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| crucial felix | Jan 25, 20:58 | |
| crucial felix | Jan 26, 02:49 |






Cocoa mail archive

