sfx2/inc/bitmaps.hlst | 1 + sfx2/source/notebookbar/PriorityMergedHBox.cxx | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-)
New commits: commit 96dd1cd36c2f9446d3455a06b5f77a3954950c03 Author: Sumit Chauhan <sumitc...@gmail.com> AuthorDate: Fri May 10 14:08:10 2019 +0530 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Fri May 10 12:06:09 2019 +0200 tdf#116629 added chevron icon for noteboookbar hide button To test the patch , cherry pick this icon-patch first https://gerrit.libreoffice.org/#/c/72082/ Change-Id: I706aee5695a2e275095832070382a9def4d89611 Reviewed-on: https://gerrit.libreoffice.org/72107 Reviewed-by: Szymon Kłos <szymon.k...@collabora.com> Tested-by: Szymon Kłos <szymon.k...@collabora.com> diff --git a/sfx2/inc/bitmaps.hlst b/sfx2/inc/bitmaps.hlst index c420ba89bd78..654a41df125c 100644 --- a/sfx2/inc/bitmaps.hlst +++ b/sfx2/inc/bitmaps.hlst @@ -32,6 +32,7 @@ #define BMP_HELP_TOOLBOX_L_SEARCHDIALOG "res/lc05961.png" //start, sfx2/source/sidebar/Theme.cxx +#define CHEVRON "sfx2/res/chevron.png" #define CLOSEDOC "sfx2/res/closedoc.png" #define GRIP "sfx2/res/grip.png" #define OPEN_MORE "sfx2/res/symphony/open_more.png" diff --git a/sfx2/source/notebookbar/PriorityMergedHBox.cxx b/sfx2/source/notebookbar/PriorityMergedHBox.cxx index e52c467b6c23..4e7fa0c16d2a 100644 --- a/sfx2/source/notebookbar/PriorityMergedHBox.cxx +++ b/sfx2/source/notebookbar/PriorityMergedHBox.cxx @@ -21,6 +21,7 @@ #include <vcl/layout.hxx> #include <sfx2/dllapi.h> #include <sfx2/viewfrm.hxx> +#include <bitmaps.hlst> #include "OptionalBox.hxx" #include "PriorityHBox.hxx" #include "NotebookbarPopup.hxx" @@ -43,8 +44,8 @@ public: { m_pButton = VclPtr<PushButton>::Create(this, WB_FLATBUTTON); m_pButton->SetClickHdl(LINK(this, PriorityMergedHBox, PBClickHdl)); - m_pButton->SetSymbol(SymbolType::NEXT); - m_pButton->set_width_request(15); + m_pButton->SetModeImage(Image(StockImage::Yes, CHEVRON)); + m_pButton->set_width_request(25); m_pButton->set_pack_type(VclPackType::End); m_pButton->Show(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits