diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2022-07-28 11:21:42 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2022-07-28 13:04:26 +0200 |
commit | d39a6726b8583086215a4452ce6867eb20c118d8 (patch) | |
tree | e3079ea2ab25bc7abd98eb6fe360b7ae86ffd276 /cui | |
parent | 156073b6ed57424da685bd141ee366bd4467c4e0 (diff) |
tdf#119246: Dimensions dialog has wrong values in several fields
Regression from a8dd49b9fc59371ff8edb31082bbd4f1b6179b1c
Convert dimension lines tab page to widget UI
Min and max should be -10000 and 10000 (in mm).
Change-Id: I936857f4c10bd2b6fec7b0e492c069b88cc071dc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137553
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/measure.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cui/source/tabpages/measure.cxx b/cui/source/tabpages/measure.cxx index 5a1188a05067..fe61ed53abff 100644 --- a/cui/source/tabpages/measure.cxx +++ b/cui/source/tabpages/measure.cxx @@ -110,11 +110,16 @@ SvxMeasurePage::SvxMeasurePage(weld::Container* pPage, weld::DialogController* p m_xTsbAutoPosH->connect_toggled(LINK(this, SvxMeasurePage, ClickAutoPosHdl_Impl)); Link<weld::MetricSpinButton&,void> aLink(LINK(this, SvxMeasurePage, ChangeAttrEditHdl_Impl)); + m_xMtrFldLineDist->set_range(-10000, 10000, FieldUnit::MM); m_xMtrFldLineDist->connect_value_changed(aLink); m_xMtrFldHelplineOverhang->connect_value_changed(aLink); + m_xMtrFldHelplineOverhang->set_range(-10000, 10000, FieldUnit::MM); m_xMtrFldHelplineDist->connect_value_changed(aLink); + m_xMtrFldHelplineDist->set_range(-10000, 10000, FieldUnit::MM); m_xMtrFldHelpline1Len->connect_value_changed(aLink); + m_xMtrFldHelpline1Len->set_range(-10000, 10000, FieldUnit::MM); m_xMtrFldHelpline2Len->connect_value_changed(aLink); + m_xMtrFldHelpline2Len->set_range(-10000, 10000, FieldUnit::MM); m_xMtrFldDecimalPlaces->connect_value_changed(LINK(this, SvxMeasurePage, ChangeAttrSpinHdl_Impl)); m_xTsbBelowRefEdge->connect_toggled(LINK(this, SvxMeasurePage, ChangeAttrClickHdl_Impl)); m_xTsbParallel->connect_toggled( LINK( this, SvxMeasurePage, ChangeAttrClickHdl_Impl)); |