Re: Programmatically creating NSButton
Re: Programmatically creating NSButton
- Subject: Re: Programmatically creating NSButton
- From: Ondra Cada <email@hidden>
- Date: Sat, 24 Apr 2004 13:19:50 +0200
Greg,
On 24.4.2004, at 12:16, Greg Hulands wrote:
>
Thanks for the reply. I have tried that but it is just that the
>
vertical alignment is not correct.
I am sorry I don't have the direct answer (the code seems to me quite
right), but have you considered placing the part of UI which is to be
generated into a separate NIB, loading it as many times as needed?
Agreeably, for just one button it would be impractical; most often one
needs to generate a more substantial part of UI though, in which case
the NIB approach beats programmatical creation no sweat.
---
Ondra Hada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.