sd/source/ui/animations/CustomAnimationList.hxx |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 4f6e80e67d219c7b79a28bcf164931d1ff27b592
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Thu Mar 4 15:17:28 2021 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Thu Mar 4 20:56:32 2021 +0100

    make both 'empty' widget and its treeview replacement the same size
    
    so on flipping one visible vs the other the panel scrollbar position
    is equally valid for each mode
    
    Change-Id: Iae422c30eb8b752c407070b66852fe23fdc38912
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111967
    Tested-by: Caolán McNamara <caol...@redhat.com>
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sd/source/ui/animations/CustomAnimationList.hxx 
b/sd/source/ui/animations/CustomAnimationList.hxx
index 481a7ab18f97..56cfafcf5176 100644
--- a/sd/source/ui/animations/CustomAnimationList.hxx
+++ b/sd/source/ui/animations/CustomAnimationList.hxx
@@ -109,7 +109,11 @@ public:
     void set_sensitive(bool bSensitive) { 
mxTreeView->set_sensitive(bSensitive); }
     int get_height_rows(int nRows) { return 
mxTreeView->get_height_rows(nRows); }
     int get_approximate_digit_width() const { return 
mxTreeView->get_approximate_digit_width(); }
-    void set_size_request(int nWidth, int nHeight) { 
mxTreeView->set_size_request(nWidth, nHeight); }
+    void set_size_request(int nWidth, int nHeight)
+    {
+        mxTreeView->set_size_request(nWidth, nHeight);
+        mxEmptyLabel->set_size_request(nWidth, nHeight);
+    }
     void unselect_all() { mxTreeView->unselect_all(); }
     weld::TreeView& get_widget() { return *mxTreeView; }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to