cui/source/customize/cfgutil.cxx | 4 ++-- cui/source/inc/cfgutil.hxx | 2 +- cui/uiconfig/ui/macroselectordialog.ui | 32 +++++++++++++++++--------------- 3 files changed, 20 insertions(+), 18 deletions(-)
New commits: commit f851219a067eac5f766d0c18ef6853d71f4737dd Author: Parth Raiyani <[email protected]> AuthorDate: Fri Feb 6 17:13:36 2026 +0530 Commit: Caolán McNamara <[email protected]> CommitDate: Fri Feb 27 00:00:59 2026 +0100 a11y: change from description frame to description box and update UI layout Signed-off-by: Parth Raiyani <[email protected]> Change-Id: I415cbde293958b9a7724e394d1d8f63e7dd75159 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198834 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200520 diff --git a/cui/source/customize/cfgutil.cxx b/cui/source/customize/cfgutil.cxx index c6562f705a7c..32846c6f2d62 100644 --- a/cui/source/customize/cfgutil.cxx +++ b/cui/source/customize/cfgutil.cxx @@ -1156,7 +1156,7 @@ SvxScriptSelectorDialog::SvxScriptSelectorDialog( , m_xOKButton(m_xBuilder->weld_button(u"ok"_ustr)) , m_xCancelButton(m_xBuilder->weld_button(u"cancel"_ustr)) , m_xDescriptionText(m_xBuilder->weld_text_view(u"description"_ustr)) - , m_xDescriptionFrame(m_xBuilder->weld_frame(u"descriptionframe"_ustr)) + , m_xDescriptionBox(m_xBuilder->weld_box(u"descriptionbox"_ustr)) { m_xCancelButton->show(); m_xDialogDescription->show(); @@ -1198,7 +1198,7 @@ SvxScriptSelectorDialog::SvxScriptSelectorDialog( UpdateUI(); if (comphelper::LibreOfficeKit::isActive()) - m_xDescriptionFrame->hide(); + m_xDescriptionBox->hide(); } SvxScriptSelectorDialog::~SvxScriptSelectorDialog() diff --git a/cui/source/inc/cfgutil.hxx b/cui/source/inc/cfgutil.hxx index 12f3843118ad..3e895750b9af 100644 --- a/cui/source/inc/cfgutil.hxx +++ b/cui/source/inc/cfgutil.hxx @@ -251,7 +251,7 @@ class SvxScriptSelectorDialog : public weld::GenericDialogController std::unique_ptr<weld::Button> m_xOKButton; std::unique_ptr<weld::Button> m_xCancelButton; std::unique_ptr<weld::TextView> m_xDescriptionText; - std::unique_ptr<weld::Frame> m_xDescriptionFrame; + std::unique_ptr<weld::Box> m_xDescriptionBox; DECL_LINK(ClickHdl, weld::Button&, void); DECL_LINK(SelectHdl, weld::TreeView&, void); diff --git a/cui/uiconfig/ui/macroselectordialog.ui b/cui/uiconfig/ui/macroselectordialog.ui index b94782ac7eb4..9197fe8441ce 100644 --- a/cui/uiconfig/ui/macroselectordialog.ui +++ b/cui/uiconfig/ui/macroselectordialog.ui @@ -248,15 +248,29 @@ </packing> </child> <child> - <object class="GtkFrame" id="descriptionframe"> + <object class="GtkBox" id="descriptionbox"> <property name="visible">True</property> <property name="can-focus">False</property> <property name="margin-start">6</property> <property name="margin-end">6</property> <property name="margin-top">6</property> <property name="margin-bottom">6</property> - <property name="label-xalign">0</property> - <property name="shadow-type">none</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel" id="label1"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="margin-bottom">6</property> + <property name="label" translatable="yes" context="macroselectordialog|label1">_Description</property> + <property name="use-underline">True</property> + <property name="mnemonic-widget">description</property> + <property name="xalign">0</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + </child> <child> <object class="GtkScrolledWindow" id="scrolledwindow1"> <property name="height-request">100</property> @@ -273,18 +287,6 @@ </child> </object> </child> - <child type="label"> - <object class="GtkLabel" id="label1"> - <property name="visible">True</property> - <property name="can-focus">False</property> - <property name="margin-bottom">6</property> - <property name="label" translatable="yes" context="macroselectordialog|label1">_Description</property> - <property name="use-underline">True</property> - <attributes> - <attribute name="weight" value="bold"/> - </attributes> - </object> - </child> </object> <packing> <property name="expand">False</property>
