Thanks Ken, I was missing constrains that was causing the issue. I see the
document states that Xcode will not complain if there are not enough
constrains. It would have helped of it did. I didn¹t realise the problem
was constrains. Do you know why this behaviour and if possible someway to
enable Xcode from throwing up warning at least?

Regards,
Varun






On 2/07/2014 1:59 pm, "Ken Thomases" <[email protected]> wrote:

>On Jul 1, 2014, at 6:46 PM, Varun Chandramohan wrote:
>
>> I have a NSTableView (View based) with 8 NSTableColumn each of which
>>has NSTableCellView as default built from IB. I followed apple guide
>>https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Ta
>>bleView/Introduction/Introduction.html#//apple_ref/doc/uid/10000026i-CH1-
>>SW1 and populated the table programatically as specified in the guide.
>>This seem to work properly. I noticed that one or more columns are
>>populated with strings that are large and so the view seem to cut them
>>off with "Blah..." which  is understandable. However when I resize the
>>that column to see the rest of the string I only see "Blah...". Its as
>>if only a part of the string was populated into the NSTextField as part
>>of NSTableCellView. I did not find any information on this in the guide.
>>Any pointers? I would have expected this to be the default behaviour.
>
>The table view will change the width of the cell view.  However, you're
>responsible for configuring the text field within the cell view so that
>it changes width with the cell view.  You would do that with either
>autoresizing masks or autolayout, depending on which you're using.
>
>Regards,
>Ken
>


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to