much better handling of tables who have fixed-width columns that make the table wider than it is allowed to be

added some sanity checking in BalanceColumnWidths be ensure that a column width
can never be less than the minimum element in that column.


git-svn-id: svn://10.0.0.236/trunk@6507 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
buster%netscape.com
1998-07-27 02:15:37 +00:00
parent 0de1753c64
commit c017339e1c
4 changed files with 128 additions and 48 deletions

View File

@@ -222,9 +222,9 @@ protected:
PRInt32 mCols;
PRInt32 mNumCols;
// cached data
nscoord mMinTableWidth; // the absolute smallest width for the table
nscoord mMaxTableWidth; // the "natural" size for the table, if unconstrained
nscoord mFixedTableWidth; // the amount of space taken up by fixed-width columns
nscoord mMinTableWidth; // the smallest size for the table
nscoord mMaxTableWidth; // the "natural" size for the table, if unconstrained
nscoord mFixedTableWidth; // the amount of space taken up by fixed-width columns
};