aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-06-30 22:45:13 +0200
committerSebastian Geerken <devnull@localhost>2014-06-30 22:45:13 +0200
commit72f09de70b3e057adbfc459f4b4b9009cabffa0e (patch)
tree0350db7c59786e17d2f03c3f387aeb6f932e221f
parente65756c53e14073da8c13b34c89aad4398595cf8 (diff)
Now that intrinsic extremes work, narrowing tables uses the original concept again.
-rw-r--r--dw/table.cc10
1 files changed, 2 insertions, 8 deletions
diff --git a/dw/table.cc b/dw/table.cc
index a5ff9929..7df16f7a 100644
--- a/dw/table.cc
+++ b/dw/table.cc
@@ -686,14 +686,8 @@ void Table::forceCalcCellSizes (bool calcHeights)
// (which means that sometimes CSS values are handled
// incorrectly).
- //apportion2 (totalWidth, 0, colExtremes->size() - 1, MIN_MIN, MAX_MIN,
- // colWidths, 0);
-
- // Update: the concept of "intrinsic" extremes is still very
- // imperfect; fot this reason, we use the corrected minima:
-
- apportion2 (totalWidth, 0, colExtremes->size() - 1, MIN, MIN, colWidths,
- 0);
+ apportion2 (totalWidth, 0, colExtremes->size() - 1, MIN_MIN, MAX_MIN,
+ colWidths, 0);
else {
// Normal apportioning.
int width;