Re: Horizontally centering NSButton in NSTableColumn
Re: Horizontally centering NSButton in NSTableColumn
- Subject: Re: Horizontally centering NSButton in NSTableColumn
- From: mw <email@hidden>
- Date: Tue, 21 Jan 2003 06:34:45 -0500
On 1/20/03 10:42 PM, "Jeff LaMarche" <email@hidden> wrote:
>
I've got an NSTable with a column that I've used a disabled
>
NSButtonCell (as a switch) in it to show the status of a flag. It works
>
fine, but for the lief of me, I can't seem to get the checkbox
>
horizontally centered. I've selected centered for the content, and also
>
programmatically set it to horizontally centered after setting the
>
NSButtonCell.
>
>
Any thoughts on what might be keeping it from being centered? TIA.
>
>
Jeff
>
_______________________________________________
>
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.
Did you make sure that there is no label for the switch, and that the switch
prototype being used has been "sized to fit" (like the option in Interface
Builder) so there isn't an empty text label in the control? That might be
the problem.
mw
_______________________________________________
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.