col/row auto-sizing ignores merged regions with 1 col/row
Submitted by Tomas Pospisek
Link to original bug (#345861)
Description
Please describe the problem: If you resize a row by doubleclicking on a line separating two rows the resulting row size will be too small. I.e. not big enoough to be able to display all lines withing a cell inside such a row.
Steps to reproduce:
- load the attached gnumeric sheet
- double-click on the line separating the "1" and "2" widgets
Actual results: The first row is resized too small, so that you can't read the second line in the cell.
Expected results: The row should be resized in a way so that all the text inside the cell can be read. (Something like: size_of_row = number_of_lines * size_of_line + border_size)
Does this happen every time? yes
Other information: See gnumeric sheet at http://sourcepole.ch/tpo/tmp/kak.gnumeric
Version: git master