From f57b11457c7dc7c9be44d4406b39b49a829cdabe Mon Sep 17 00:00:00 2001 From: Michael Weghorn Date: Fri, 4 Apr 2025 14:56:55 +0200 Subject: [PATCH] tdf#130857 Define widgets in math "Font Sizes" dlg in order Switch the order in which the widgets in the .ui file are defined so that the order matches the visual appearance (and "left-attach"/"top-attach" properties order), which makes sure that tab focus order with the Qt-based VCL plugins is correct as well when using native Qt widgets (SAL_VCL_QT_USE_WELDED_WIDGETS=1), where focus order is (by default) based on widget creation order. See commit 02692566ad9fc7c3484f8581ffa0004cd4e43987 Author: Michael Weghorn Date: Thu Oct 24 17:43:35 2024 +0200 tdf#130857 optnewdictionarydialog.ui: Define focusable widgets in order for more background. The dialog can be triggered in Math via "Format" -> "Font Size". Change-Id: I9b0286d3329671632269649a461df52b855128b9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183715 Reviewed-by: Michael Weghorn Tested-by: Jenkins --- starmath/uiconfig/smath/ui/fontsizedialog.ui | 188 +++++++++---------- 1 file changed, 94 insertions(+), 94 deletions(-) diff --git a/starmath/uiconfig/smath/ui/fontsizedialog.ui b/starmath/uiconfig/smath/ui/fontsizedialog.ui index 5dde406c2e01..21ab72fe2a0f 100644 --- a/starmath/uiconfig/smath/ui/fontsizedialog.ui +++ b/starmath/uiconfig/smath/ui/fontsizedialog.ui @@ -201,6 +201,86 @@ True 6 12 + + + True + False + _Text: + True + spinB_text + 0 + + + 0 + 0 + + + + + True + True + True + True + True + adjustmentRelativeSizes4 + + + Select the size for text in a formula relative to the base size. + + + + + 1 + 0 + + + + + True + False + _Indexes: + True + spinB_index + 0 + + + 0 + 1 + + + + + True + True + True + True + True + adjustmentRelativeSizes5 + + + Select the relative size for the indexes in a formula in proportion to the base size. + + + + + 1 + 1 + + + + + True + False + _Functions: + True + spinB_function + 0 + + + 0 + 2 + + True @@ -234,20 +314,6 @@ 3 - - - True - False - _Limits: - True - spinB_limit - 0 - - - 0 - 4 - - True @@ -267,6 +333,20 @@ 3 + + + True + False + _Limits: + True + spinB_limit + 0 + + + 0 + 4 + + True @@ -286,86 +366,6 @@ 4 - - - True - False - _Text: - True - spinB_text - 0 - - - 0 - 0 - - - - - True - False - _Functions: - True - spinB_function - 0 - - - 0 - 2 - - - - - True - False - _Indexes: - True - spinB_index - 0 - - - 0 - 1 - - - - - True - True - True - True - True - adjustmentRelativeSizes4 - - - Select the size for text in a formula relative to the base size. - - - - - 1 - 0 - - - - - True - True - True - True - True - adjustmentRelativeSizes5 - - - Select the relative size for the indexes in a formula in proportion to the base size. - - - - - 1 - 1 - -