Two new ivars : _autoresizesAllColumnsToFit and _superview_width

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11276 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
pyr 2001-10-29 11:12:09 +00:00
parent 6dbf391435
commit f90c48104b

View file

@ -63,6 +63,7 @@
BOOL _allowsColumnSelection; BOOL _allowsColumnSelection;
BOOL _allowsColumnResizing; BOOL _allowsColumnResizing;
BOOL _allowsColumnReordering; BOOL _allowsColumnReordering;
BOOL _autoresizesAllColumnsToFit;
BOOL _selectingColumns; BOOL _selectingColumns;
NSText *_textObject; NSText *_textObject;
int _editedRow; int _editedRow;
@ -90,6 +91,12 @@
* which updates the cache. */ * which updates the cache. */
float *_columnOrigins; float *_columnOrigins;
/*
* We keep the superview's width in order to know when to
* size the last column to fit
*/
float _superview_width;
/* if YES [which happens only during a sizeToFit], we are doing /* if YES [which happens only during a sizeToFit], we are doing
computations on sizes so we ignore tile (produced for example by computations on sizes so we ignore tile (produced for example by
the NSTableColumns) during the computation. We perform a global the NSTableColumns) during the computation. We perform a global