fixed column balancing for case where minColWidth > specifiedFixedColumnWidth

This commit is contained in:
buster@netscape.com
1998-07-24 03:53:59 +00:00
parent dfc1a65731
commit 987f47d3f9
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