From 9fdc7384eff0e9627de2d9c2b59a7716f9e8af25 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 15 Dec 2020 14:33:32 +0000 Subject: tdf#138938 put the tooltip on the toolbar item instead of the toolbar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I69ff3813a726f26daa20a00ce3a0bb311a162c39 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107770 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- sfx2/source/sidebar/TabBar.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'sfx2') diff --git a/sfx2/source/sidebar/TabBar.cxx b/sfx2/source/sidebar/TabBar.cxx index 0ac834b1318e..fc6124f79659 100644 --- a/sfx2/source/sidebar/TabBar.cxx +++ b/sfx2/source/sidebar/TabBar.cxx @@ -219,6 +219,7 @@ void TabBar::CreateTabItem(weld::Toolbar& rItem, const DeckDescriptor& rDeckDesc rItem.set_accessible_name(rDeckDescriptor.msTitle); rItem.set_accessible_description(rDeckDescriptor.msHelpText); rItem.set_tooltip_text(rDeckDescriptor.msHelpText); + rItem.set_item_tooltip_text("toggle", rDeckDescriptor.msHelpText); } css::uno::Reference TabBar::GetItemImage(const DeckDescriptor& rDeckDescriptor) const -- cgit