[Libreoffice-bugs] [Bug 101217] Setting the column width and height should not round the values causing compounding errors

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Feb 12 12:13:44 UTC 2021


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

Heiko Tietze <heiko.tietze at documentfoundation.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needsUXEval                 |difficultyBeginner,
                   |                            |easyHack, skillCpp, topicUI
                 CC|libreoffice-ux-advise at lists |heiko.tietze at documentfounda
                   |.freedesktop.org            |tion.org

--- Comment #20 from Heiko Tietze <heiko.tietze at documentfoundation.org> ---
Fair enough. Code pointer for easy hack: In sc/source/ui/view/cellsh3.cxx,
method

ScopedVclPtr<AbstractScMetricInputDlg>pDlg(pFact->CreateScMetricInputDlg(pTabViewShell->GetFrameWeld(),
"ColWidthDialog", nCurHeight, STD_COL_WIDTH, eMetric, 2, MAX_COL_WIDTH));

change the value 2 after eMetric to 4.

For consistency it would be good to do the same at 

ScopedVclPtr<AbstractScMetricInputDlg>pDlg(pFact->CreateScMetricInputDlg(pTabViewShell->GetFrameWeld(),
"RowHeightDialog", nCurHeight, ScGlobal::nStdRowHeight, eMetric, 2,
MAX_ROW_HEIGHT));

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210212/1e5f7ac7/attachment.htm>


More information about the Libreoffice-bugs mailing list