summaryrefslogtreecommitdiff
path: root/cui/source/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-01-31 11:02:05 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-01-31 11:30:49 +0000
commit0867207f2934ba20ab2636d38ec64a01a5a2a8d7 (patch)
treede146ae13c790f2c8c8a6015071d830c48f37de2 /cui/source/inc
parentb0f4052cf2f4924251a835470c78aa85f8da93f1 (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.hxx8
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: