diff options
author | Andras Timar <andras.timar@collabora.com> | 2020-09-15 12:41:08 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2020-10-17 00:51:17 +0200 |
commit | 17cbc559be6936777904e5cf8a517cac89045264 (patch) | |
tree | 1266ce6fb9571aa096188577ab6a906fb18e6f3b | |
parent | e385efc6bf5d084759be4fd02f272a75c053fbc5 (diff) |
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@collabora.com>
-rw-r--r-- | sw/qa/uitest/writer_tests/watermark.py | 2 | ||||
-rw-r--r-- | sw/uiconfig/swriter/ui/watermarkdialog.ui | 3 |
2 files changed, 2 insertions, 3 deletions
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> |