summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--svx/source/sidebar/possize/PosSizePropertyPanel.cxx2
-rw-r--r--svx/uiconfig/ui/sidebarpossize.ui1
2 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
index aac8619a448e..b1ac16b96643 100644
--- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
+++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
@@ -213,7 +213,7 @@ void PosSizePropertyPanel::Initialize()
mxCbxScale->connect_toggled( LINK( this, PosSizePropertyPanel, ClickAutoHdl ) );
//rotation control
- mxCtrlDial->SetLinkedField(mxMtrAngle.get());
+ mxCtrlDial->SetLinkedField(mxMtrAngle.get(), 2);
mxCtrlDial->SetModifyHdl(LINK( this, PosSizePropertyPanel, RotationHdl));
//use same logic as DialControl_Impl::SetSize
diff --git a/svx/uiconfig/ui/sidebarpossize.ui b/svx/uiconfig/ui/sidebarpossize.ui
index b507f2bca7fa..94dade3d1f89 100644
--- a/svx/uiconfig/ui/sidebarpossize.ui
+++ b/svx/uiconfig/ui/sidebarpossize.ui
@@ -400,6 +400,7 @@
<property name="hexpand">True</property>
<property name="tooltip_text" translatable="yes" context="sidebarpossize|rotation|tooltip_text">Select the angle for rotation.</property>
<property name="hexpand">True</property>
+ <property name="digits">2</property>
<property name="adjustment">adjustmentSpinDegrees</property>
<property name="wrap">True</property>
<property name="truncate-multiline">True</property>