• 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
NSBox Border with buttons and missing elements in view order
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSBox Border with buttons and missing elements in view order


  • Subject: NSBox Border with buttons and missing elements in view order
  • From: René van Amerongen <email@hidden>
  • Date: Sat, 19 Jun 2004 01:12:53 +0200

Hello everybody

I am busy with this for a while but couldn't find a solution.

Maybe someone has a suggestion for me.
I have in IB
a row of buttons ( RB1 ) contained in a customView ( CV1 ).
a tableView ( TV1 )contained in a NSBox ( Box1 )

if I move the CV1 right on the border right of the title of Box1 then I can use the buttons.

but I would like to have them in one container, so I did select both of them ( CV1 and box1 ) and put them in a subview in IB with 'make subviews of customView'.

But now my buttons doesnt work anymore.

I did bring them to the front, back whatever, but still not working.
As soon a button comes to close to the border it stops working.

I would like to know why? And how to solve this?

I know I could use a customNSView and draw a border similair as a NSBox and fill this view with the other elements. This works.
If I do this and the NSBox will get a different appearance in a later OS X version my own drawed box doesn't look consistant.


My second question
While it is very nice to see in IB in the mainmenu.nib the order of the views, I mis for example the NSClipView, NSTableColumn and others mentioned in this list when I have a for example a tableView in my nib file ( in case someone would like to know how to get this list, go to you nib window select instances and select the small buttns on the right just above the scrollbar ).
Is there a reason for this?
If I check this with code then I see everything all the NSButtons, NSview's, NSClipView, NSTableColumn and further way down of elements in IB.

Thanks
_______________________________________________
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.


  • Prev by Date: Re: Enabling/Disabling Control view hiearchies
  • Next by Date: Re: [NSWindow invalidateShadow] dosen't works?
  • Previous by thread: bad behavior of slider (circular)
  • Next by thread: Re: [NSWindow invalidateShadow] dosen't works?
  • Index(es):
    • Date
    • Thread