diff options
author | Sebastian Geerken <devnull@localhost> | 2014-07-22 15:58:24 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-07-22 15:58:24 +0200 |
commit | b6aeac03a3e6c5f4ea7edaad9a42b79cf5a8fe10 (patch) | |
tree | ea92b6c09c3f254693f3ac609997e0e4743e907d /dw/alignedtablecell.cc | |
parent | 6cfa2fc2dc1613cd6589cf76a3b425a71e17e7ce (diff) |
Adjust_table_min_width is also applied to table cells (to avoid inconsistent rendering).
Diffstat (limited to 'dw/alignedtablecell.cc')
-rw-r--r-- | dw/alignedtablecell.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dw/alignedtablecell.cc b/dw/alignedtablecell.cc index a9f091f3..f1e1203a 100644 --- a/dw/alignedtablecell.cc +++ b/dw/alignedtablecell.cc @@ -20,6 +20,7 @@ #include "alignedtablecell.hh" +#include "table.hh" #include "../lout/debug.hh" #include <stdio.h> @@ -62,6 +63,11 @@ int AlignedTableCell::applyPerHeight (int containerHeight, return core::style::multiplyWithPerLength (containerHeight, perHeight); } +bool AlignedTableCell::getAdjustMinWidth () +{ + return Table::getAdjustTableMinWidth (); +} + int AlignedTableCell::wordWrap(int wordIndex, bool wrapAll) { Textblock::Word *word; |