diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2022-03-08 12:41:27 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2022-04-11 01:59:43 +0200 |
commit | 55d67ef2884724234f4eaf46f037d75153d86e06 (patch) | |
tree | 29c6f7f860ffa8f95265788b9a6cf62eb8c9a321 | |
parent | 44d599ca1c4bfdf1b803b707cadc7eb5158af979 (diff) |
sc: render Sparkline columns smaller - reducee by 70% of the width
Change-Id: I265a8b87b521f873e0ddea7a1a5becc558483ed2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132249
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
(cherry picked from commit 70bedb257a79eac45d614a09808b2e18074fa174)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132777
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
-rw-r--r-- | sc/source/ui/view/output.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/view/output.cxx b/sc/source/ui/view/output.cxx index fc7711f5befe..bc7c00f265bf 100644 --- a/sc/source/ui/view/output.cxx +++ b/sc/source/ui/view/output.cxx @@ -2431,6 +2431,7 @@ void drawColumn(vcl::RenderContext& rRenderContext, tools::Rectangle const & rRe double nDelta = nMax - nMin; double nColumnSize = rRectangle.GetWidth() / numberOfSteps; + nColumnSize = nColumnSize - (nColumnSize * 0.3); double nZero = (0 - nMin) / nDelta; double nZeroPosition; |