svx/source/sidebar/possize/PosSizePropertyPanel.cxx |    2 +-
 svx/uiconfig/ui/sidebarpossize.ui                   |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 5a15f6dc15449fd83949fbff296fe2f72c20639f
Author:     Katarina Behrens <bu...@bubli.org>
AuthorDate: Fri Jun 18 09:48:25 2021 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Mon Jun 21 12:31:59 2021 +0200

    tdf#141311: Rotation spinbox in sidebar used to have 2 decimal places
    
    regression from weld-ing (c85fcc6e1994eb8e079aaca85066ab4d67149c15)
    
    Change-Id: Iad0725fd4542ecdddb65092846dbf9d103016d9a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117408
    Tested-by: Jenkins
    Reviewed-by: Katarina Behrens <bu...@bubli.org>
    (cherry picked from commit 7a717c8b9319edcc12e50ab78554b8e0e7049cbf)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117419
    Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>
    (cherry picked from commit 1bec8a3d3b16bb8881bd49f58d8786421ff5f839)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117554
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

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>
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to