Re: NSTableCellView Constraints?
Re: NSTableCellView Constraints?
- Subject: Re: NSTableCellView Constraints?
- From: Keary Suska <email@hidden>
- Date: Tue, 27 Jan 2015 08:23:59 -0700
On Jan 27, 2015, at 7:32 AM, Thomas Wetmore <email@hidden> wrote:
> I have a multi-column table that I am converting from an ObjC/cell-based implementation to a Swift/view-based implementation. The cells are text, so I am now using a vanilla text-only NSTableCellView in each column.
>
> When the application launches, I can shrink the columns just fine — the text shrinks as it should.
>
> BUT, when I widen the columns the text widens until it reaches the width of the INITIAL LAUNCH TIME WIDTH, and widens no further, no matter how wide I make the columns.
>
> There must be a constraint problem, and I have been playing around with them for awhile, but no joy yet. Googling has not turned up a similar issue. I would have assumed that when I dragged the NSTableCellView into the NSTableColumn using IB, that IB would have established the constraints between the cell view and the column view properly. Apparently not. Is this a known Swift/Cocoa bug or IB bug? Does anyone know the proper workaround? I am running Xcode 6.2 beta 4.
Well, constraints are fully inspectable. What do they show?
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden