diff options
author | andreas kainz <kainz.a@gmail.com> | 2020-04-21 15:02:42 +0200 |
---|---|---|
committer | andreas_kainz <kainz.a@gmail.com> | 2020-04-22 17:57:12 +0200 |
commit | 90e73c8cb949e2ef96e9a77b2208f53e5feab3ab (patch) | |
tree | 6e59a6405e315bbd50a8c85331e5dcc7aadf91cf /svx/source | |
parent | a0c37548e17807bb0e0402b04e87bcd677fe132f (diff) |
tdf#130156 add alignment commands to the sidebar
Change-Id: I302acc25b65ef20a0338401e763d400076f6e36d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92634
Tested-by: Jenkins
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/sidebar/possize/PosSizePropertyPanel.cxx | 8 | ||||
-rw-r--r-- | svx/source/sidebar/possize/PosSizePropertyPanel.hxx | 5 |
2 files changed, 13 insertions, 0 deletions
diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx index 24e7b8b205b2..0ca21527d89e 100644 --- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx +++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx @@ -76,6 +76,10 @@ PosSizePropertyPanel::PosSizePropertyPanel( mxArrangeDispatch(new ToolbarUnoDispatcher(*mxArrangeTbx, *m_xBuilder, rxFrame)), mxArrangeTbx2(m_xBuilder->weld_toolbar("arrangetoolbar2")), mxArrangeDispatch2(new ToolbarUnoDispatcher(*mxArrangeTbx2, *m_xBuilder, rxFrame)), + mxAlignTbx(m_xBuilder->weld_toolbar("aligntoolbar")), + mxAlignDispatch(new ToolbarUnoDispatcher(*mxAlignTbx, *m_xBuilder, rxFrame)), + mxAlignTbx2(m_xBuilder->weld_toolbar("aligntoolbar2")), + mxAlignDispatch2(new ToolbarUnoDispatcher(*mxAlignTbx2, *m_xBuilder, rxFrame)), mxBtnEditChart(m_xBuilder->weld_button("btnEditChart")), maRect(), mpView(nullptr), @@ -138,6 +142,10 @@ void PosSizePropertyPanel::dispose() mxFtFlip.reset(); mxFlipDispatch.reset(); mxFlipTbx.reset(); + mxAlignDispatch.reset(); + mxAlignDispatch2.reset(); + mxAlignTbx.reset(); + mxAlignTbx2.reset(); mxArrangeDispatch.reset(); mxArrangeDispatch2.reset(); mxArrangeTbx.reset(); diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.hxx b/svx/source/sidebar/possize/PosSizePropertyPanel.hxx index 2c78dd033253..bf5f1ff7e8ae 100644 --- a/svx/source/sidebar/possize/PosSizePropertyPanel.hxx +++ b/svx/source/sidebar/possize/PosSizePropertyPanel.hxx @@ -112,6 +112,11 @@ private: std::unique_ptr<weld::Toolbar> mxArrangeTbx2; std::unique_ptr<ToolbarUnoDispatcher> mxArrangeDispatch2; + std::unique_ptr<weld::Toolbar> mxAlignTbx; + std::unique_ptr<ToolbarUnoDispatcher> mxAlignDispatch; + std::unique_ptr<weld::Toolbar> mxAlignTbx2; + std::unique_ptr<ToolbarUnoDispatcher> mxAlignDispatch2; + //edit charts button for online's mobile view std::unique_ptr<weld::Button> mxBtnEditChart; |