https://bugs.documentfoundation.org/show_bug.cgi?id=139512

Justin L <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|[email protected] |[email protected]
                   |desktop.org                 |

--- Comment #11 from Justin L <[email protected]> ---
(In reply to Telesto from comment #4)
> I prefer the 'original' old state.. prior to
> LO 5.0 4f2c8194f485b1527fb4f4dfe23ce804937f1f9c 
Ah yes. That commit started a massive train-wreck. This caused empty rows to
not have any say on row height.  Fixed by Sarper in 7.4.2. See bug 144092.

Since that is fixed, the minimum height (based on the font connected to that
cell) will be correct. (Well, actually for a new table was correct since
5.1.1). So we can revert back to a rather minimalistic height again - like the
original 200 (appropriate for 4pt font).

In practice the actual height will typically be ~750/row. That is from 18pt
text plus 0.5pt * 2 borders + 0.4cm * 2 border spacing. (72pt == 1 inch).
So 2.54/72 = 0.30 cm/pt * 19pt = .67cm + .08cm = .75cm or 750 mm100.


(In reply to Telesto from comment #4)
> Does the current self know why the prior self picked such a size?
Not really, but since selecting rows and then using the context menu to size ->
minimize row height is possible, I wasn't too worried about creating a two-line
row height. At the time of my change, the height was guaranteed to fit inside
of the viewing window, so the table could easily shrink and thus a large-ish
value didn't seem bad. That guarantee changed soon after in 5.1.1.

The "best" size is likely 750, which is approximately the minimum amount needed
for an 18pt font. (I don't seen any way to create a table that DOESN'T have a
size 18 font - styles don't seem to affect the table?) But assuming that at
some point the table size can be controlled, I decided to just revert back to
200 as the minimum height.

https://gerrit.libreoffice.org/c/core/+/152021

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to