[Libreoffice-commits] core.git: vcl/source
Kshitij Pathania
kshitijpathania at gmail.com
Fri May 11 20:03:30 UTC 2018
vcl/source/control/tabctrl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3fc6ba164b187a2ea563cdc6ec6603b1e9357596
Author: Kshitij Pathania <kshitijpathania at gmail.com>
Date: Fri May 11 07:28:46 2018 +0530
[GSoC]Notebookbar: Hamburger icon is now well aligned
Change-Id: I3c850113049bd5d36e024b2207777e63eaf05b2d
Reviewed-on: https://gerrit.libreoffice.org/54111
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
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));
More information about the Libreoffice-commits
mailing list