svx/source/dialog/ctredlin.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 79c7c66157b75cfbf2171ad2cf87542aa75bad7c
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Wed Jun 15 15:50:33 2022 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Thu Jun 16 10:40:47 2022 +0200

    Related: tdf#147844 fix warning about negative extra space in manage changes
    
    Change-Id: I20c98578e2e96bc06e3c90c12eeda81ab06c988d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135913
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx
index 3a0f1e32e0a3..88d869a446f2 100644
--- a/svx/source/dialog/ctredlin.cxx
+++ b/svx/source/dialog/ctredlin.cxx
@@ -66,6 +66,7 @@ 
SvxRedlinTable::SvxRedlinTable(std::unique_ptr<weld::TreeView> xWriterControl,
 {
     if (xWriterTreeView)
     {
+        xWriterTreeView->set_size_request(-1, 
xWriterTreeView->get_height_rows(8));
         xWriterTreeView->connect_column_clicked(LINK(this, SvxRedlinTable, 
HeaderBarClick));
         xWriterTreeView->set_sort_func([this](const weld::TreeIter& rLeft, 
const weld::TreeIter& rRight){
             return ColCompare(rLeft, rRight);
@@ -74,6 +75,7 @@ 
SvxRedlinTable::SvxRedlinTable(std::unique_ptr<weld::TreeView> xWriterControl,
     }
     if (xCalcTreeView)
     {
+        xCalcTreeView->set_size_request(-1, xCalcTreeView->get_height_rows(8));
         xCalcTreeView->connect_column_clicked(LINK(this, SvxRedlinTable, 
HeaderBarClick));
         xCalcTreeView->set_sort_func([this](const weld::TreeIter& rLeft, const 
weld::TreeIter& rRight){
             return ColCompare(rLeft, rRight);

Reply via email to