From f90c48104be6a4971de58af624e27f67b78d8b7b Mon Sep 17 00:00:00 2001 From: pyr Date: Mon, 29 Oct 2001 11:12:09 +0000 Subject: [PATCH] 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 --- Headers/gnustep/gui/NSTableView.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Headers/gnustep/gui/NSTableView.h b/Headers/gnustep/gui/NSTableView.h index 9052e8912..9f57582e6 100644 --- a/Headers/gnustep/gui/NSTableView.h +++ b/Headers/gnustep/gui/NSTableView.h @@ -63,6 +63,7 @@ BOOL _allowsColumnSelection; BOOL _allowsColumnResizing; BOOL _allowsColumnReordering; + BOOL _autoresizesAllColumnsToFit; BOOL _selectingColumns; NSText *_textObject; int _editedRow; @@ -90,6 +91,12 @@ * which updates the cache. */ 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 computations on sizes so we ignore tile (produced for example by the NSTableColumns) during the computation. We perform a global