[Libreoffice-commits] core.git: sw/qa sw/uiconfig
Andras Timar (via logerrit)
logerrit at kemper.freedesktop.org
Fri Oct 16 22:51:56 UTC 2020
sw/qa/uitest/writer_tests/watermark.py | 2 +-
sw/uiconfig/swriter/ui/watermarkdialog.ui | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
New commits:
commit 17cbc559be6936777904e5cf8a517cac89045264
Author: Andras Timar <andras.timar at collabora.com>
AuthorDate: Tue Sep 15 12:41:08 2020 +0200
Commit: Andras Timar <andras.timar at collabora.com>
CommitDate: Sat Oct 17 00:51:17 2020 +0200
Angle of the watermark: step by 45°
Change-Id: Ia4ab9a56f346625cf191c1f5a648e1744dad29d6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102728
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar at collabora.com>
diff --git a/sw/qa/uitest/writer_tests/watermark.py b/sw/qa/uitest/writer_tests/watermark.py
index 9fb587aa7479..0d918e92d061 100644
--- a/sw/qa/uitest/writer_tests/watermark.py
+++ b/sw/qa/uitest/writer_tests/watermark.py
@@ -39,7 +39,7 @@ class watermark(UITestCase):
xTransparency = xDialog.getChild("Transparency")
self.assertEqual(get_state_as_dict(xTextInput)["Text"], "Watermark")
- self.assertEqual(get_state_as_dict(xAngle)["Text"], "46°")
+ self.assertEqual(get_state_as_dict(xAngle)["Text"], "90°")
self.assertEqual(get_state_as_dict(xTransparency)["Text"], "51%")
xCancBtn = xDialog.getChild("cancel")
diff --git a/sw/uiconfig/swriter/ui/watermarkdialog.ui b/sw/uiconfig/swriter/ui/watermarkdialog.ui
index 34d858588219..8da3642deff9 100644
--- a/sw/uiconfig/swriter/ui/watermarkdialog.ui
+++ b/sw/uiconfig/swriter/ui/watermarkdialog.ui
@@ -4,8 +4,7 @@
<requires lib="gtk+" version="3.18"/>
<object class="GtkAdjustment" id="angle_adj">
<property name="upper">359</property>
- <property name="step_increment">1</property>
- <property name="page_increment">10</property>
+ <property name="step_increment">45</property>
</object>
<object class="GtkAdjustment" id="transparenct_adj">
<property name="upper">100</property>
More information about the Libreoffice-commits
mailing list