fixed column balancing for case where minColWidth > specifiedFixedColumnWidth

git-svn-id: svn://10.0.0.236/trunk@6361 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
buster%netscape.com
1998-07-24 03:53:59 +00:00
parent 1de4ef58fe
commit 37153913f6
2 changed files with 6 additions and 0 deletions

View File

@@ -369,6 +369,9 @@ PRBool BasicTableLayoutStrategy::AssignPreliminaryColumnWidths()
}
} // end rowIndex for loop
// adjust the "fixed" width for content that is too wide
if (minColWidth>specifiedFixedColWidth)
specifiedFixedColWidth=minColWidth;
// do all the global bookkeeping, factoring in margins
nscoord colInset = mTableFrame->GetCellSpacing();
// keep a running total of the amount of space taken up by all fixed-width columns

View File

@@ -369,6 +369,9 @@ PRBool BasicTableLayoutStrategy::AssignPreliminaryColumnWidths()
}
} // end rowIndex for loop
// adjust the "fixed" width for content that is too wide
if (minColWidth>specifiedFixedColWidth)
specifiedFixedColWidth=minColWidth;
// do all the global bookkeeping, factoring in margins
nscoord colInset = mTableFrame->GetCellSpacing();
// keep a running total of the amount of space taken up by all fixed-width columns