• 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
Re: Horizontally centering NSButton in NSTableColumn
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Horizontally centering NSButton in NSTableColumn (From: Jeff LaMarche <email@hidden>)

  • Prev by Date: Re: Sending HTML mail message
  • Next by Date: Re: Constraining a Split View (a different scenario)
  • Previous by thread: Horizontally centering NSButton in NSTableColumn
  • Next by thread: odd crash on makeKeyAndOrderFront:
  • Index(es):
    • Date
    • Thread