starmath/source/ElementsDockingWindow.cxx | 2 ++ starmath/source/SmElementsPanel.hxx | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit e15109935a0afa8d7b073a75e256eeed760d8691 Author: Mike Kaganski <[email protected]> AuthorDate: Wed Apr 27 17:40:20 2022 +0300 Commit: Mike Kaganski <[email protected]> CommitDate: Sun Jun 5 07:50:40 2022 +0200 tdf#148819: let the scroller know the custom widget's line size Change-Id: Ie30cd1db182aad5fbbf7e89498bd0ae9ce98c0f3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133518 Tested-by: Jenkins Reviewed-by: Mike Kaganski <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135403 Tested-by: Jenkins CollaboraOffice <[email protected]> diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx index 23888cf95311..1ba5c0d991ec 100644 --- a/starmath/source/ElementsDockingWindow.cxx +++ b/starmath/source/ElementsDockingWindow.cxx @@ -499,6 +499,7 @@ void SmElementsControl::LayoutOrPaintContents(vcl::RenderContext& rContext, bool mxScroll->hadjustment_set_upper(nTotalControlWidth); mxScroll->hadjustment_set_page_size(nControlWidth); mxScroll->hadjustment_set_page_increment(nControlWidth); + mxScroll->hadjustment_set_step_increment(boxX); mxScroll->set_hpolicy(VclPolicyType::ALWAYS); } else @@ -515,6 +516,7 @@ void SmElementsControl::LayoutOrPaintContents(vcl::RenderContext& rContext, bool mxScroll->vadjustment_set_upper(nTotalControlHeight); mxScroll->vadjustment_set_page_size(nControlHeight); mxScroll->vadjustment_set_page_increment(nControlHeight); + mxScroll->vadjustment_set_step_increment(boxY); mxScroll->set_vpolicy(VclPolicyType::ALWAYS); } else commit 5376d162dc28d014d3a7fad99bcfba95b9adde25 Author: Mike Kaganski <[email protected]> AuthorDate: Wed Apr 27 15:53:09 2022 +0300 Commit: Mike Kaganski <[email protected]> CommitDate: Sun Jun 5 07:50:26 2022 +0200 Clean up includes Change-Id: Ied9a75953875e809e4284fdff03aab6add6800ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133511 Tested-by: Jenkins Reviewed-by: Mike Kaganski <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135402 Tested-by: Jenkins CollaboraOffice <[email protected]> diff --git a/starmath/source/SmElementsPanel.hxx b/starmath/source/SmElementsPanel.hxx index 4629b33af409..72de4c227a87 100644 --- a/starmath/source/SmElementsPanel.hxx +++ b/starmath/source/SmElementsPanel.hxx @@ -22,8 +22,6 @@ #include <sal/config.h> #include <sfx2/bindings.hxx> -#include <sfx2/sidebar/IContextChangeReceiver.hxx> -#include <sfx2/sidebar/SidebarModelUpdate.hxx> #include <sfx2/sidebar/PanelLayout.hxx> #include <vcl/customweld.hxx> #include <vcl/EnumContext.hxx>
