[Libreoffice-commits] core.git: Branch 'libreoffice-7-0' - sd/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed Apr 21 18:47:39 UTC 2021
sd/source/ui/animations/CustomAnimationList.hxx | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 66cd3c57f4f7b0b7b6dc38196b932a0a66f846fd
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Mar 4 15:17:28 2021 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Apr 21 20:47:03 2021 +0200
tdf#139305 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/+/111925
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>
(cherry picked from commit 0d20074eb112186e0e2fa4241b57777a335eb68c)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114438
Tested-by: Xisco Fauli <xiscofauli at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sd/source/ui/animations/CustomAnimationList.hxx b/sd/source/ui/animations/CustomAnimationList.hxx
index f704e1b92b4f..eae9e2aead2d 100644
--- a/sd/source/ui/animations/CustomAnimationList.hxx
+++ b/sd/source/ui/animations/CustomAnimationList.hxx
@@ -110,7 +110,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; }
More information about the Libreoffice-commits
mailing list