summaryrefslogtreecommitdiff
path: root/chart2/source/controller/dialogs/tp_TitleRotation.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-01-17 12:12:44 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-01-17 20:18:14 +0100
commitdca52ec998946d3e5213190d04cdf98bace50e2c (patch)
tree19ba6f527d1f4b9b98e3245206134d9b8e4a60b3 /chart2/source/controller/dialogs/tp_TitleRotation.cxx
parent357d0010058f57a9ec79f0c7d084eeeb3e1edb14 (diff)
show degree symbol in DialControl linked spinbuttons
Change-Id: I792755f043109173606a78e947d5dc01f78c6849 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86982 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'chart2/source/controller/dialogs/tp_TitleRotation.cxx')
-rw-r--r--chart2/source/controller/dialogs/tp_TitleRotation.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/dialogs/tp_TitleRotation.cxx b/chart2/source/controller/dialogs/tp_TitleRotation.cxx
index 1cd5ecdf6558..e5754ef3e94e 100644
--- a/chart2/source/controller/dialogs/tp_TitleRotation.cxx
+++ b/chart2/source/controller/dialogs/tp_TitleRotation.cxx
@@ -33,7 +33,7 @@ SchAlignmentTabPage::SchAlignmentTabPage(weld::Container* pPage, weld::DialogCon
const SfxItemSet& rInAttrs, bool bWithRotation)
: SfxTabPage(pPage, pController, "modules/schart/ui/titlerotationtabpage.ui", "TitleRotationTabPage", &rInAttrs)
, m_xFtRotate(m_xBuilder->weld_label("degreeL"))
- , m_xNfRotate(m_xBuilder->weld_spin_button("OrientDegree"))
+ , m_xNfRotate(m_xBuilder->weld_metric_spin_button("OrientDegree", FieldUnit::DEGREE))
, m_xCbStacked(m_xBuilder->weld_check_button("stackedCB"))
, m_xFtTextDirection(m_xBuilder->weld_label("textdirL"))
, m_xFtABCD(m_xBuilder->weld_label("labelABCD"))