diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2017-11-10 12:20:36 +0100 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2017-11-10 19:34:32 +0100 |
commit | 537d4e672e2e5d175c7e0bc9cf4a7efb2bec72be (patch) | |
tree | 58a1290f6f3881bc18bdd7e2488c76059ceb2882 /include | |
parent | a11e0d428c7a17fd1d7689add10de413cc0ea81c (diff) |
tdf#113725: Sidebar: Controls are crammed in Slide content panel
Need to trigger a layouting to get the right panel size after we
show / hode context related items.
Change-Id: I791921ecb491bb65c53a4fe9562207d47f66a88a
Reviewed-on: https://gerrit.libreoffice.org/44565
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/sidebar/Panel.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sfx2/sidebar/Panel.hxx b/include/sfx2/sidebar/Panel.hxx index 4ed7b74951ba..4d65467cd051 100644 --- a/include/sfx2/sidebar/Panel.hxx +++ b/include/sfx2/sidebar/Panel.hxx @@ -20,6 +20,7 @@ #define INCLUDED_SFX2_SOURCE_SIDEBAR_PANEL_HXX #include <sfx2/sidebar/Context.hxx> +#include <sfx2/dllapi.h> #include <vcl/window.hxx> @@ -35,7 +36,7 @@ class PanelDescriptor; class TitleBar; class PanelTitleBar; -class Panel : public vcl::Window +class SFX2_DLLPUBLIC Panel : public vcl::Window { public: Panel(const PanelDescriptor& rPanelDescriptor, vcl::Window* pParentWindow, @@ -55,6 +56,7 @@ public: bool IsExpanded() const { return mbIsExpanded;} bool HasIdPredicate (const OUString& rsId) const; const OUString& GetId() const { return msPanelId;} + void TriggerDeckLayouting() { maDeckLayoutTrigger(); } virtual void Resize() override; virtual void DataChanged (const DataChangedEvent& rEvent) override; |