sd/source/ui/sidebar/LayoutMenu.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4e7d732bdedb10259dc5025b3129a8ca856eae52 Author: Michael Weghorn <[email protected]> AuthorDate: Wed Jan 21 12:33:38 2026 +0100 Commit: Aron Budea <[email protected]> CommitDate: Sat Jan 24 21:02:05 2026 +0100 tdf#168281 sd: Don't set texts for slide layouts in icon view Don't set the layout names as strings to be displayed by the icon view. This aligns the vcl/SalInstanceIconView case with the gtk3 one where the texts are not displayed anyway, as well as with the behavior prior to commit cf523a77a76645f301aaa43b57b0c78c8c685561 Date: Thu Jun 12 22:28:06 2025 +0530 tdf#166964 Switch to IconView in LayoutMenu for improved UI handling . It also fixes rendering issues and the problem of not enough space getting allocated to show all layouts at the same time for the vcl implementation, as described in tdf#168281. The layout names are still available via tooltips and as accessible names. Conflicts: sd/source/ui/sidebar/LayoutMenu.cxx Change-Id: Iaa0bd000344ef6d9a938f869dc22b1e50f96aa83 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197738 Reviewed-by: Michael Weghorn <[email protected]> Tested-by: Jenkins (cherry picked from commit 510f14518d90c0fbfb5c147132e3d7ac7850b4cb) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197860 Reviewed-by: Adolfo Jayme Barrientos <[email protected]> (cherry picked from commit d272d3e1f495a8f490a556be69df58cfbc0ce12e) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198050 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Aron Budea <[email protected]> diff --git a/sd/source/ui/sidebar/LayoutMenu.cxx b/sd/source/ui/sidebar/LayoutMenu.cxx index 4ba9c4ff6918..7a62f0f41099 100644 --- a/sd/source/ui/sidebar/LayoutMenu.cxx +++ b/sd/source/ui/sidebar/LayoutMenu.cxx @@ -521,7 +521,7 @@ void LayoutMenu::Fill() } else { - mxLayoutIconView->insert(id, &sLayoutName, &sId, aVDev, nullptr); + mxLayoutIconView->insert(id, nullptr, &sId, aVDev, nullptr); } maLayoutToStringMap[elem.maAutoLayout] = elem.mpStrResId;
