diff options
author | Kshitij Pathania <kshitijpathania@gmail.com> | 2018-05-11 07:28:46 +0530 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2018-05-11 22:03:03 +0200 |
commit | 3fc6ba164b187a2ea563cdc6ec6603b1e9357596 (patch) | |
tree | 2116514e1ff6f0c1c4a0bba060fc05b1c6ba2aaf /vcl/source | |
parent | 49a92a140763ca0273135489a676247d670161a3 (diff) |
[GSoC]Notebookbar: Hamburger icon is now well aligned
Change-Id: I3c850113049bd5d36e024b2207777e63eaf05b2d
Reviewed-on: https://gerrit.libreoffice.org/54111
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/control/tabctrl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx index ba45738fa216..72ce116ba2b4 100644 --- a/vcl/source/control/tabctrl.cxx +++ b/vcl/source/control/tabctrl.cxx @@ -2199,7 +2199,7 @@ NotebookbarTabControlBase::NotebookbarTabControlBase(vcl::Window* pParent) { BitmapEx aBitmap(SV_RESID_BITMAP_NOTEBOOKBAR); - m_pOpenMenu = VclPtr<PushButton>::Create(this); + m_pOpenMenu = VclPtr<PushButton>::Create( this , WB_CENTER | WB_VCENTER ); m_pOpenMenu->SetSizePixel(Size(HAMBURGER_DIM, HAMBURGER_DIM)); m_pOpenMenu->SetClickHdl(LINK(this, NotebookbarTabControlBase, OpenMenu)); m_pOpenMenu->SetModeImage(Image(aBitmap)); |