diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-01-17 12:12:44 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-01-17 20:18:14 +0100 |
commit | dca52ec998946d3e5213190d04cdf98bace50e2c (patch) | |
tree | 19ba6f527d1f4b9b98e3245206134d9b8e4a60b3 /sw | |
parent | 357d0010058f57a9ec79f0c7d084eeeb3e1edb14 (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 'sw')
-rw-r--r-- | sw/source/ui/frmdlg/frmpage.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/inc/frmpage.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/frmdlg/frmpage.cxx b/sw/source/ui/frmdlg/frmpage.cxx index d99562c06266..7bb7c04b752d 100644 --- a/sw/source/ui/frmdlg/frmpage.cxx +++ b/sw/source/ui/frmdlg/frmpage.cxx @@ -2315,7 +2315,7 @@ SwGrfExtPage::SwGrfExtPage(weld::Container* pPage, weld::DialogController* pCont , m_xLinkFrame(m_xBuilder->weld_frame("linkframe")) // RotGrfFlyFrame: Need Angle and RotateControls now , m_xFlAngle(m_xBuilder->weld_frame("FL_ANGLE")) - , m_xNfAngle(m_xBuilder->weld_spin_button("NF_ANGLE")) + , m_xNfAngle(m_xBuilder->weld_metric_spin_button("NF_ANGLE", FieldUnit::DEGREE)) , m_xCtlAngle(new weld::CustomWeld(*m_xBuilder, "CTL_ANGLE", m_aCtlAngle)) , m_xBmpWin(new weld::CustomWeld(*m_xBuilder, "preview", m_aBmpWin)) { diff --git a/sw/source/uibase/inc/frmpage.hxx b/sw/source/uibase/inc/frmpage.hxx index 1906a01d90a9..a5c57aa9a1b4 100644 --- a/sw/source/uibase/inc/frmpage.hxx +++ b/sw/source/uibase/inc/frmpage.hxx @@ -217,7 +217,7 @@ class SwGrfExtPage : public SfxTabPage // RotGrfFlyFrame: Need Angle and RotateControls now std::unique_ptr<weld::Frame> m_xFlAngle; - std::unique_ptr<weld::SpinButton> m_xNfAngle; + std::unique_ptr<weld::MetricSpinButton> m_xNfAngle; std::unique_ptr<weld::CustomWeld> m_xCtlAngle; std::unique_ptr<weld::CustomWeld> m_xBmpWin; |