summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorxuenhua <xuenhua2008@sina.com>2022-06-23 23:12:58 +0800
committerCaolán McNamara <caolanm@redhat.com>2022-06-27 17:17:17 +0200
commit2e9ee1e4828818266d528d349b090cc1675e5a28 (patch)
treec10428397aae9d095e37965143e44bc6d8c7ea14 /svx
parent4195b594b91f948a15de58e9426972f6b8c634c9 (diff)
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 <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sidebar/shapes/DefaultShapesPanel.cxx2
1 files changed, 2 insertions, 0 deletions
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(