NSButton Aligned to the Right

Posted by dave-gennel on Stack Overflow See other posts from Stack Overflow or by dave-gennel
Published on 2010-03-11T18:40:28Z Indexed on 2010/03/11 18:44 UTC
Read the original article Hit count: 306

Filed under:
|

Hi,

I want to have a check box, like the standard one (first the check box and on the right its title) but I want it to be aligned from the right. If I change the alignment to the right then only the text will move to the right but the button itself will still be at the left..

How would I achieve this without knowing the bounds of the NSButton?

Thanks in advance.

© Stack Overflow or respective owner

Related posts about nsbutton

Related posts about alignment