On May 9, 2014, at 02:59 , Jakob Egger wrote:


Looking at Finder windows in column view, I see that it’s able to discriminate column resizing from window resizing when the last column ends at the edge of the window (though it’s not always clear that the correct cursor is displayed). But it’s really hard to tell exactly where the mouse is pointing, since pixels are mostly pretty small these days.

Actually Finder has the same problem. Open a folder in list view. It's impossible to resize the last column. To resize a column, you have to drag the last column to a different position, resize it, and drag it back. Unfortunately my app doesn't allow rearranging columns :(

Adding an empty 5px spacer column at the end is possible, but an ugly hack. If I can't think of anything better, I'll have to go with that.

Jakob
_______________________________________________



Hello,

Try:

(1) Set the NSTableViewColumnAutoresizingStyle on the TableView to NSTableViewNoColumnAutoresizing; Then check the behavior.

(2) Set the resizing mask on the last table column to NSTableColumnNoResizing;

(3) call setHasVerticalScroller:YES on the containing NSScrollView, to give you that buffer zone.

(4) Is your window really being resized when grabbed at by the edge? or just moved? if moved, then try -[NSWindow setMovableByWindowBackground:NO];


P.S.: At what OS release did windows become resizable by grabbing their edges? Doesn't that cause this same issue with all the controls that are crammed into the edges of most windows?



Manoah F. Adams

===========

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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