<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Optimal column width of table in Writer is cumbersome and not persistent"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=113604#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Optimal column width of table in Writer is cumbersome and not persistent"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=113604">bug 113604</a>
from <span class="vcard"><a class="email" href="mailto:rb.henschel@t-online.de" title="Regina Henschel <rb.henschel@t-online.de>"> <span class="fn">Regina Henschel</span></a>
</span></b>
<pre>(In reply to Heiko Tietze from <a href="show_bug.cgi?id=113604#c3">comment #3</a>)
<span class="quote">> How is this function expected to work regarding constraints. I mean col A
> and B are defined as style:use-optimal-column-width so one of the two has to
> give room when both grow. What happens when I enter a lot of text, or have
> just one character? Without a (adjustable) minimum and maximum the feature
> makes not much sense.</span >
I don't know. The spec has no rule for it. The text of section 20.383 is:
The style:use-optimal-column-width attribute specifies that a column width
should be recalculated automatically if content in the column changes.
The defined values for the style:use-optimal-column-width attribute are:
• false: column width should not be recalculated automatically if content
in the column changes.
• true: column width should be recalculated automatically if content in the
column changes.
The current behavior in UI in LibreOffice is to adjust the total width of the
table; and in case the total width would have to be enlarged but that is not
possible, the command is ignored.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>