diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-01-31 11:02:05 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-01-31 11:30:49 +0000 |
commit | 0867207f2934ba20ab2636d38ec64a01a5a2a8d7 (patch) | |
tree | de146ae13c790f2c8c8a6015071d830c48f37de2 /cui/source/inc | |
parent | b0f4052cf2f4924251a835470c78aa85f8da93f1 (diff) |
tell the options dialog to relayout if a pane queue-resizes
Change-Id: I44686ea724873181018bf00253a08afa58c9a10b
Diffstat (limited to 'cui/source/inc')
-rw-r--r-- | cui/source/inc/treeopt.hxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cui/source/inc/treeopt.hxx b/cui/source/inc/treeopt.hxx index 36a02501d356..320769407f82 100644 --- a/cui/source/inc/treeopt.hxx +++ b/cui/source/inc/treeopt.hxx @@ -140,6 +140,11 @@ typedef std::vector< ExtensionsTabPage* > VectorOfPages; class OfaTreeOptionsDialog : public SfxModalDialog { private: + SvTreeListEntry* pCurrentPageEntry; + Timer maTreeLayoutTimer; + DECL_DLLPRIVATE_LINK( ImplHandleTreeLayoutTimerHdl, void* ); + bool hasTreePendingLayout() const; + OKButton aOkPB; CancelButton aCancelPB; HelpButton aHelpPB; @@ -152,8 +157,6 @@ private: String sTitle; String sNotLoadedError; - SvTreeListEntry* pCurrentPageEntry; - // for the ColorTabPage SfxItemSet* pColorPageItemSet; SvxColorTabPage *mpColorPage; @@ -183,6 +186,7 @@ private: VectorOfNodes LoadNodes( Module* pModule, const rtl::OUString& rExtensionId ); void InsertNodes( const VectorOfNodes& rNodeList ); + virtual void queue_layout(); void SetPaneSize(Window *pPane); protected: |