https://bugs.documentfoundation.org/show_bug.cgi?id=156942
Bug ID: 156942
Summary: "Fit width to text" should be less extreme by default
Product: LibreOffice
Version: 7.6.0.0 alpha1+
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: medium
Component: Impress
Assignee: [email protected]
Reporter: [email protected]
The textbox Position and Size dialog, Position and Size tab has a "Fit width to
text" option. What it actually does is increase or decrease the textbox width
so that the widest paragraph fully fits on a _single line_.
While this is a useful feature, there is another way to "fit width", at least
when "Fit height" is disabled, which is: set the width so that the textbox text
fits in exactly the number of lines which fill the textbox horizontally without
exceeding its bounds.
Thus, for example,
*---------------------*
| I like textboxes in |
| Impress & Draw. |
| |
*---------------------*
(with no paragraph breaks inside the textbox) becomes
*-----------------*
| I like |
| textboxes in |
| Impress & Draw. |
*-----------------*
no change to the height, decrease to the width to fill the vertical space for
the third line.
I claim the fact that this is not the default behavior is a bug. Why? Because:
1. The current behavior is very often undesirable: If you have a long stretch
of text, it will just extend beyond the boundaries of the slide and your
window.
2. By reducing the textbox height to one line's worth, or alternatively,
increasing the margins to only fit one line - one can get the same effect of
the existing behavior with this behavior.
So, if you ask me - we should just switch the behavior. Alternatively, we could
have the "fit width" option have three states: None, fit to single line, fit to
box height (not necessarily with these names).
---
Caveat: If this were to come to pass, the semantics of "Fit width" together
with "Fit height" would have to be reconsidered carefully. Although TBH, their
combination is kind of a mess today.
--
You are receiving this mail because:
You are the assignee for the bug.