mikecsh / mbtablegrid

An NSControl subclass which provides a spreadsheet-style table grid
45 stars 17 forks source link

Prevents vertical offset during cell editing #4

Closed ghost closed 10 years ago

ghost commented 10 years ago

Since table grid cells are drawn with a non-bezelled border, set MBTableGridCells bordered to YES and bezeled to NO (default). This matches cell drawing with editing. The previous configuration (bezeled == YES) made editing be vertically offset because NSTextFieldCell was led to believe there was a bezel. Fixes #3.

mikecsh commented 10 years ago

Thanks!