From a0e94744f05943fa298c77f6e9d441ec290d8c5a Mon Sep 17 00:00:00 2001 From: Michael Weghorn Date: Tue, 6 Oct 2026 11:59:12 +0200 Subject: [PATCH] tdf#130857 Define widgets in "Callout" tab page in order Switch the order in which the widgets in the .ui file are defined so that the order better matches the visual appearance and logical 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 tab page can be triggered like this: * start Draw * make sure the "Text" toolbar is enabled in "View" -> "Toolbars" -> "Text" * in that "Text" toolbar, select the "Callouts" shape and insert it into the document * right-click on the newly inserted shape to open the context menu * activate the "Position and Size" menu entry * switch to the "Callout" tab The Python script mentioned in the commit message of commit 327679b2fb96b70797a61ff07ddd8d8b3f3a2606 Author: Michael Weghorn Date: Wed Jul 8 15:50:59 2026 +0200 tdf#130857 Define widgets in Calc "General" options page in order was used to reorder the GtkGrid children automatically. Change-Id: Ice8f6b318f57411bea553311faf45b40cb098b44 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211883 Tested-by: Jenkins Reviewed-by: Michael Weghorn --- cui/uiconfig/ui/calloutpage.ui | 394 ++++++++++++++++----------------- 1 file changed, 197 insertions(+), 197 deletions(-) diff --git a/cui/uiconfig/ui/calloutpage.ui b/cui/uiconfig/ui/calloutpage.ui index acda83de8d7f..919bb1198b3b 100644 --- a/cui/uiconfig/ui/calloutpage.ui +++ b/cui/uiconfig/ui/calloutpage.ui @@ -59,203 +59,6 @@ False 6 18 - - - - True - False - 12 - - - True - False - _Extension: - True - extension - 0 - - - 0 - 0 - - - - - True - False - - Optimal - From top - From left - Horizontal - Vertical - - - - Select where you want to extend the callout line from, in relation to the callout box. - - - - - 1 - 0 - - - - - 0 - 1 - - - - - - True - False - 12 - - - True - True - True - 0.00 - True - adjustment1 - 2 - - - Enter the length of the callout line segment that extends from the callout box to the inflection point of the line. - - - - - 1 - 0 - - - - - True - False - _Length: - True - length - 0 - - - 0 - 0 - - - - - 0 - 2 - - - - - _Optimal - True - True - False - True - True - - - Click here to display a single-angled line in an optimal way. - - - - - 1 - 2 - - - - - - True - False - 6 - 12 - - - True - False - _Position: - True - position - 0 - - - 0 - 0 - - - - - True - False - _By: - True - by - 0 - - - 0 - 1 - - - - - True - False - - Top - Middle - Bottom - Left - Center - Right - - - - Select where you want to extend the callout line from, in relation to the callout box. - - - - - 1 - 0 - - - - - True - True - True - 0.00 - True - adjustment2 - 2 - - - Select where you want to extend the callout line from, in relation to the callout box. - - - - - 1 - 1 - - - - - 1 - 1 - - @@ -317,6 +120,203 @@ 0 + + + + True + False + 12 + + + True + False + _Extension: + True + extension + 0 + + + 0 + 0 + + + + + True + False + + Optimal + From top + From left + Horizontal + Vertical + + + + Select where you want to extend the callout line from, in relation to the callout box. + + + + + 1 + 0 + + + + + 0 + 1 + + + + + + True + False + 6 + 12 + + + True + False + _Position: + True + position + 0 + + + 0 + 0 + + + + + True + False + + Top + Middle + Bottom + Left + Center + Right + + + + Select where you want to extend the callout line from, in relation to the callout box. + + + + + 1 + 0 + + + + + True + False + _By: + True + by + 0 + + + 0 + 1 + + + + + True + True + True + 0.00 + True + adjustment2 + 2 + + + Select where you want to extend the callout line from, in relation to the callout box. + + + + + 1 + 1 + + + + + 1 + 1 + + + + + + True + False + 12 + + + True + False + _Length: + True + length + 0 + + + 0 + 0 + + + + + True + True + True + 0.00 + True + adjustment1 + 2 + + + Enter the length of the callout line segment that extends from the callout box to the inflection point of the line. + + + + + 1 + 0 + + + + + 0 + 2 + + + + + _Optimal + True + True + False + True + True + + + Click here to display a single-angled line in an optimal way. + + + + + 1 + 2 + + False