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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user