brendand / mbtablegrid

An NSControl subclass which provides a spreadsheet-style table grid
9 stars 3 forks source link

Adjusting width of column should behave exactly like NSTableView #30

Closed brendand closed 9 years ago

brendand commented 9 years ago

There's some funky behaviour when dragging a column divider to adjust the column widths. The mouse pointer gets out of sync with the divider position and you end up affecting the width even when your cursor is not directly over the divider line.

brendand commented 9 years ago

Currently this is how the grid control is resizing columns. The columns grow when they shouldn't

Column Sizing

A normal NSTableView column resizes like this:

NSTableView Column Sizing

brendand commented 9 years ago

:thumb: