summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/swpossizetabpage.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/cui/source/tabpages/swpossizetabpage.cxx b/cui/source/tabpages/swpossizetabpage.cxx
index bbcaf0840210..c7c140753034 100644
--- a/cui/source/tabpages/swpossizetabpage.cxx
+++ b/cui/source/tabpages/swpossizetabpage.cxx
@@ -547,6 +547,9 @@ SvxSwPosSizeTabPage::SvxSwPosSizeTabPage(Window* pParent, const SfxItemSet& rInA
get(m_pFollowCB, "followtextflow");
get(m_pExampleWN, "preview");
+ setOptimalFrmWidth();
+ setOptimalRelWidth();
+
FieldUnit eDlgUnit = GetModuleFieldUnit( rInAttrs );
SetFieldUnit( *m_pHoriByMF, eDlgUnit, sal_True );
SetFieldUnit( *m_pVertByMF, eDlgUnit, sal_True );