summaryrefslogtreecommitdiff
path: root/cui/source/tabpages
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-08-06 14:55:35 +0200
committerCaolán McNamara <caolanm@redhat.com>2013-08-06 15:35:59 +0200
commitf0118b43b56489d53710635ea88c41eeef9e2bee (patch)
treef0a2a4f1ec64661a746d96fdfacae779a35773a9 /cui/source/tabpages
parentbd7596518edd1511a31c44b8fe63f856a5471282 (diff)
align load/save buttons across dialogs
and restore strange custom unit multi unit mode to these metricfields Change-Id: I7e228f6fd658374e3f1588c757ef2ed1e6ba78c8
Diffstat (limited to 'cui/source/tabpages')
-rw-r--r--cui/source/tabpages/tplnedef.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/cui/source/tabpages/tplnedef.cxx b/cui/source/tabpages/tplnedef.cxx
index 2010b594d890..399994ca9fcc 100644
--- a/cui/source/tabpages/tplnedef.cxx
+++ b/cui/source/tabpages/tplnedef.cxx
@@ -73,8 +73,11 @@ SvxLineDefTabPage::SvxLineDefTabPage
get(m_pNumFldNumber1 ,"NUM_FLD_1");
get(m_pNumFldNumber2 ,"NUM_FLD_2");
get(m_pMtrLength1 ,"MTR_FLD_LENGTH_1");
+ m_pMtrLength1->SetCustomUnitText("%");
get(m_pMtrLength2 ,"MTR_FLD_LENGTH_2");
+ m_pMtrLength2->SetCustomUnitText("%");
get(m_pMtrDistance ,"MTR_FLD_DISTANCE");
+ m_pMtrDistance->SetCustomUnitText("%");
get(m_pCbxSynchronize ,"CBX_SYNCHRONIZE");
get(m_pBtnAdd ,"BTN_ADD");
get(m_pBtnModify ,"BTN_MODIFY");