hi all,
I am caught in a small problem.
When I am assigning normal values to a text field using setStringValue and making the text right aligned through IB, it works fine! But when I try to assign it NSAttributedString using setAttributedStringValue: the text appears in correct color and font but does not appear to be right aligned, it always appear to be left aligned irrespective of any setting in IB.
I have tried to do it via code using setAllignment:NSRightTextAllignment and event tried to look for suitable methods in class references but cannot find one.
Can anyone suggest me the appropriate method
Thanks in advance,
Manoj
I am caught in a small problem.
When I am assigning normal values to a text field using setStringValue and making the text right aligned through IB, it works fine! But when I try to assign it NSAttributedString using setAttributedStringValue: the text appears in correct color and font but does not appear to be right aligned, it always appear to be left aligned irrespective of any setting in IB.
I have tried to do it via code using setAllignment:NSRightTextAllignment and event tried to look for suitable methods in class references but cannot find one.
Can anyone suggest me the appropriate method
Thanks in advance,
Manoj