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-28 17:23:46 +0200
commit1eac639c8bd3137f21302b1bcff5c0b45c6c479f (patch)
treee6fa0dbf76776707dee22f11d5d3e831a9b37c2d /svx
parente91660952c6e9c65e08e16b13b75606b3e68cc6a (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> (cherry picked from commit 2e9ee1e4828818266d528d349b090cc1675e5a28) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136544
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(