svx/source/sidebar/shapes/DefaultShapesPanel.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 1eac639c8bd3137f21302b1bcff5c0b45c6c479f Author: xuenhua <xuenhua2...@sina.com> AuthorDate: Thu Jun 23 23:12:58 2022 +0800 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Tue Jun 28 17:23:46 2022 +0200 tdf#149690 fix shapespanel bar width of impress Change-Id: I18afc90943e38bc79f0515d60f06f81b0eb5dd28 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136344 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> (cherry picked from commit 2e9ee1e4828818266d528d349b090cc1675e5a28) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136544 diff --git a/svx/source/sidebar/shapes/DefaultShapesPanel.cxx b/svx/source/sidebar/shapes/DefaultShapesPanel.cxx index 3ef33e52664d..2dc8092a54c8 100644 --- a/svx/source/sidebar/shapes/DefaultShapesPanel.cxx +++ b/svx/source/sidebar/shapes/DefaultShapesPanel.cxx @@ -53,6 +53,8 @@ DefaultShapesPanel::DefaultShapesPanel ( , mxFrame(rxFrame) { Initialize(); + pParent->set_size_request(pParent->get_approximate_digit_width() * 20, -1); + m_xContainer->set_size_request(m_xContainer->get_approximate_digit_width() * 25, -1); } std::unique_ptr<PanelLayout> DefaultShapesPanel::Create(