vcl/source/window/window.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 8ffdfbfb3d378fc9ba24559fe5684890ab77e116
Author: Hubert Figuière <[email protected]>
AuthorDate: Wed Nov 5 18:41:09 2025 -0500
Commit: Andras Timar <[email protected]>
CommitDate: Mon Nov 10 15:49:45 2025 +0100
vcl: Send dump the grid height in JSON
This allow proper grid layout when spanning over several row in JS Dialog
Signed-off-by: Hubert Figuière <[email protected]>
Change-Id: Idd64a367e302a896791ab9603d5e03737db52cfb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193501
Tested-by: Jenkins CollaboraOffice <[email protected]>
Reviewed-by: Szymon Kłos <[email protected]>
(cherry picked from commit 123c01ef7ad0d220c50ba35d4639b970eee9c3fb)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193754
Reviewed-by: Andras Timar <[email protected]>
Tested-by: Andras Timar <[email protected]>
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 6ff8fea2a84b..960a83383a16 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -3398,6 +3398,9 @@ void Window::DumpAsPropertyTree(tools::JsonWriter&
rJsonWriter)
sal_Int32 nWidth = pChild->get_grid_width();
if (nWidth > 1)
rJsonWriter.put("width", nWidth);
+ sal_Int32 nHeight = pChild->get_grid_height();
+ if (nHeight > 1)
+ rJsonWriter.put("height", nHeight);
}
pChild = pChild->mpWindowImpl->mpNext;
}