diff options
author | Jan Holesovsky <kendy@suse.cz> | 2013-06-02 04:46:58 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2013-06-02 04:54:55 +0200 |
commit | e66be44b69ee2a1b99bda32af93ea453c669b319 (patch) | |
tree | 707027d8074f61a6e6fc8fab3c7a797117d1b8f3 /sfx2/source/sidebar/Deck.hxx | |
parent | b441420e072a1f09098f89ed646e423c60e1895b (diff) |
sidebar: Restrict the minimal width of the sidebar.
Change-Id: I99051830c4393b420125332e787c3abdc5a6aa61
Diffstat (limited to 'sfx2/source/sidebar/Deck.hxx')
-rw-r--r-- | sfx2/source/sidebar/Deck.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sfx2/source/sidebar/Deck.hxx b/sfx2/source/sidebar/Deck.hxx index f49d38f19fe6..0dc86ff9bafa 100644 --- a/sfx2/source/sidebar/Deck.hxx +++ b/sfx2/source/sidebar/Deck.hxx @@ -75,6 +75,8 @@ public: void PrintWindowTree (const ::std::vector<Panel*>& rPanels); static void PrintWindowSubTree (Window* pRoot, int nIndentation); + sal_Int32 GetMinimalWidth() const { return mnMinimalWidth; } + class ScrollContainerWindow : public Window { public: @@ -92,6 +94,7 @@ private: Image maIcon; const ::rtl::OUString msIconURL; const ::rtl::OUString msHighContrastIconURL; + sal_Int32 mnMinimalWidth; SharedPanelContainer maPanels; ::boost::scoped_ptr<DeckTitleBar> mpTitleBar; ::boost::scoped_ptr<Window> mpScrollClipWindow; |