From 35e5abe8e569c67fbb0afe84afbd826373470a8c Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Sat, 27 Apr 2024 09:33:48 +0200 Subject: [PATCH] Improve tab order in paragraph dialog Group similiar tabs, put the most used ones (font settings) first, etc. Change-Id: I4e2931b30605086da588b3fdcd523faa34bb452a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166770 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt --- sw/qa/uitest/writer_tests5/tdf115871.py | 4 +- sw/uiconfig/swriter/ui/templatedialog2.ui | 64 +++++++++++------------ 2 files changed, 34 insertions(+), 34 deletions(-) diff --git a/sw/qa/uitest/writer_tests5/tdf115871.py b/sw/qa/uitest/writer_tests5/tdf115871.py index 1f8639b64586..94d6258e4f7a 100755 --- a/sw/qa/uitest/writer_tests5/tdf115871.py +++ b/sw/qa/uitest/writer_tests5/tdf115871.py @@ -35,7 +35,7 @@ class tdf115871(UITestCase): # Modify outline & list settings of the created style with self.ui_test.execute_dialog_through_command(".uno:EditStyle") as xDialog: xTabs = xDialog.getChild("tabcontrol") - select_pos(xTabs, "15") + select_pos(xTabs, "13") # Outline level xOutlineLevel = xTabs.getChild("comboLB_OUTLINE_LEVEL") @@ -58,7 +58,7 @@ class tdf115871(UITestCase): # Open the paragraph style dialog and reset dialog to parent settings with self.ui_test.execute_dialog_through_command(".uno:EditStyle") as xDialog: xTabs = xDialog.getChild("tabcontrol") - select_pos(xTabs, "15") + select_pos(xTabs, "13") xStandardButton = xDialog.getChild("standard") xStandardButton.executeAction("CLICK", tuple()) diff --git a/sw/uiconfig/swriter/ui/templatedialog2.ui b/sw/uiconfig/swriter/ui/templatedialog2.ui index ae467d56a486..c9afeec2f57a 100644 --- a/sw/uiconfig/swriter/ui/templatedialog2.ui +++ b/sw/uiconfig/swriter/ui/templatedialog2.ui @@ -159,10 +159,10 @@ - + True False - Indents & Spacing + Font 1 @@ -183,10 +183,10 @@ - + True False - Alignment + Font Effects 2 @@ -231,10 +231,10 @@ - + True False - Asian Typography + Alignment 4 @@ -255,10 +255,10 @@ - + True False - Font + Indents & Spacing 5 @@ -279,10 +279,10 @@ - + True False - Font Effects + Position 6 @@ -303,10 +303,10 @@ - + True False - Position + Drop Caps 7 @@ -327,10 +327,10 @@ - + True False - Asian Layout + Highlighting 8 @@ -351,10 +351,10 @@ - + True False - Highlighting + Area 9 @@ -375,10 +375,10 @@ - + True False - Tabs + Transparency 10 @@ -399,10 +399,10 @@ - + True False - Drop Caps + Borders 11 @@ -423,10 +423,10 @@ - + True False - Area + Tabs 12 @@ -447,10 +447,11 @@ - + True False - Transparency + Set outline level, list style and line numbering for paragraph style. + Outline & List 13 @@ -471,10 +472,10 @@ - + True False - Borders + Condition 14 @@ -495,10 +496,10 @@ - + True False - Condition + Asian Typography 15 @@ -519,14 +520,13 @@ - + True False - Set outline level, list style and line numbering for paragraph style. - Outline & List + Asian Layout - 9 + 16 False