| commit | 7a717c8b9319edcc12e50ab78554b8e0e7049cbf | [log] |
|---|---|---|
| author | Katarina Behrens <bubli@bubli.org> | Fri Jun 18 09:48:25 2021 +0200 |
| committer | Katarina Behrens <bubli@bubli.org> | Fri Jun 18 13:34:38 2021 +0200 |
| tree | c810031ad62ffb6ef36d12879c40ce395a733181 | |
| parent | f11195aa32035ceeb1271667f5ad5e35847acd0e [diff] |
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 <bubli@bubli.org>
diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx index 8139b3d..943117f 100644 --- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx +++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
@@ -218,7 +218,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 f608be6..f6d92e1 100644 --- a/svx/uiconfig/ui/sidebarpossize.ui +++ b/svx/uiconfig/ui/sidebarpossize.ui
@@ -388,6 +388,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>