On Jan 27, 2015, at 7:32 AM, Thomas Wetmore <t...@verizon.net> 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 (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to