diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-06-15 15:50:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-06-16 10:40:47 +0200 |
commit | 79c7c66157b75cfbf2171ad2cf87542aa75bad7c (patch) | |
tree | 46aeba352c3ae9b356ba80b04bdb8b667a124e26 /svx | |
parent | d417c6d463b51a796769ed54eacf986b1cf86b86 (diff) |
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 <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/ctredlin.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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); |