From 28cc8883eb79217b586eb24ed1155f4cd1a6c75c Mon Sep 17 00:00:00 2001 From: Michael Weghorn Date: Tue, 6 Oct 2026 07:36:36 +0200 Subject: [PATCH] chart2, sc: Enforce UI rules Commit the results of running for a in `git ls-files "*.ui"`; do bin/ui-rules-enforcer.py $a; done Change-Id: I7a97f75773b9e5750dcce848d730960a8561916b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211850 Tested-by: Jenkins Reviewed-by: Michael Weghorn --- chart2/uiconfig/ui/sidebaraxis.ui | 15 +++++---------- chart2/uiconfig/ui/tp_Scale.ui | 15 +++++---------- sc/uiconfig/scalc/ui/notebookbar.ui | 11 ----------- 3 files changed, 10 insertions(+), 31 deletions(-) diff --git a/chart2/uiconfig/ui/sidebaraxis.ui b/chart2/uiconfig/ui/sidebaraxis.ui index ec67b5534ad2..3b7f5faa0923 100644 --- a/chart2/uiconfig/ui/sidebaraxis.ui +++ b/chart2/uiconfig/ui/sidebaraxis.ui @@ -159,7 +159,6 @@ 6 6 12 - _Automatic @@ -167,13 +166,13 @@ True True True + True 0 0 - Bin _width @@ -188,7 +187,6 @@ 1 - True @@ -196,6 +194,7 @@ 10 adjustmentHISTOGRAM_BIN_WIDTH 2 + True Bin width @@ -208,7 +207,6 @@ 1 - _Number of bins @@ -223,7 +221,6 @@ 2 - True @@ -231,6 +228,7 @@ 10 adjustmentHISTOGRAM_BIN_COUNT True + True Number of bins @@ -243,7 +241,6 @@ 2 - _Overflow bin @@ -257,7 +254,6 @@ 3 - True @@ -265,6 +261,7 @@ 10 adjustmentHISTOGRAM_OVERFLOW 2 + True Overflow bin value @@ -277,7 +274,6 @@ 3 - _Underflow bin @@ -291,7 +287,6 @@ 4 - True @@ -299,6 +294,7 @@ 10 adjustmentHISTOGRAM_UNDERFLOW 2 + True Underflow bin value @@ -313,7 +309,6 @@ - True diff --git a/chart2/uiconfig/ui/tp_Scale.ui b/chart2/uiconfig/ui/tp_Scale.ui index 5c6e8366d86a..bdbfa8cd17d4 100644 --- a/chart2/uiconfig/ui/tp_Scale.ui +++ b/chart2/uiconfig/ui/tp_Scale.ui @@ -582,7 +582,6 @@ 6 6 12 - Auto_matic @@ -590,13 +589,13 @@ True True True + True 0 0 - Bin _width @@ -611,7 +610,6 @@ 1 - True @@ -619,6 +617,7 @@ 10 adjustmentHISTOGRAM_BIN_WIDTH 2 + True Bin width @@ -631,7 +630,6 @@ 1 - _Number of bins @@ -646,7 +644,6 @@ 2 - True @@ -654,6 +651,7 @@ 10 adjustmentHISTOGRAM_BIN_COUNT True + True Number of bins @@ -666,7 +664,6 @@ 2 - _Overflow bin @@ -680,7 +677,6 @@ 3 - True @@ -688,6 +684,7 @@ 10 adjustmentHISTOGRAM_OVERFLOW 2 + True Overflow bin value @@ -700,7 +697,6 @@ 3 - _Underflow bin @@ -714,7 +710,6 @@ 4 - True @@ -722,6 +717,7 @@ 10 adjustmentHISTOGRAM_UNDERFLOW 2 + True Underflow bin value @@ -736,7 +732,6 @@ - True diff --git a/sc/uiconfig/scalc/ui/notebookbar.ui b/sc/uiconfig/scalc/ui/notebookbar.ui index 6c9351fcd2aa..9de4fa6379cc 100644 --- a/sc/uiconfig/scalc/ui/notebookbar.ui +++ b/sc/uiconfig/scalc/ui/notebookbar.ui @@ -8226,7 +8226,6 @@ True - False .uno:ViewRowColumnHeaders @@ -8251,7 +8250,6 @@ True - False .uno:ToggleSheetGrid @@ -8276,7 +8274,6 @@ True - False .uno:Menubar @@ -8301,7 +8298,6 @@ True - False .uno:InputLineVisible @@ -8324,7 +8320,6 @@ True - False .uno:ViewValueHighlighting @@ -8347,7 +8342,6 @@ True - False .uno:ToggleFormula @@ -8373,7 +8367,6 @@ True - False .uno:ChangeTheme @@ -8449,7 +8442,6 @@ True - False .uno:ViewColumnRowHighlighting @@ -8472,7 +8464,6 @@ True - False .uno:ViewHiddenColRow @@ -8495,7 +8486,6 @@ True - False .uno:DesignerDialog @@ -8520,7 +8510,6 @@ True - False .uno:Sidebar