diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-08-31 10:25:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-09-01 09:30:59 +0200 |
commit | 0b16224062c0434087c3b904cc57d44e5723394b (patch) | |
tree | 77b7d2736dd22d35cf9a4d5ec70ee243d5217225 /include | |
parent | 9e0e25c489e0ee170ef4f212efa707734f581347 (diff) |
tdf#142458 minimal width not including extra width needed by scrolledwindow
its only including the width of the panels and not the extra space
possibly required by the container window. Which is 2x the
m_nBorderWidth of 1pixel of VclScrolledWindow in this case.
Change-Id: I56775c7183d7a8b87af263ddc8bb17373779e9ad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121390
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/sidebar/Deck.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sfx2/sidebar/Deck.hxx b/include/sfx2/sidebar/Deck.hxx index 47f3d6434eb2..c8cd298b9229 100644 --- a/include/sfx2/sidebar/Deck.hxx +++ b/include/sfx2/sidebar/Deck.hxx @@ -72,6 +72,7 @@ private: private: const OUString msId; sal_Int32 mnMinimalWidth; + sal_Int32 mnScrolledWindowExtraWidth; sal_Int32 mnMinimalHeight; SharedPanelContainer maPanels; |