sc/source/ui/app/inputwin.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit 2b4efc32e822bf41c4b729137718f3c70f692a89 Author: Thorsten Wagner <thorsten.wagne...@gmail.com> AuthorDate: Mon Jun 17 22:30:15 2019 +0200 Commit: Katarina Behrens <katarina.behr...@cib.de> CommitDate: Thu Jul 18 10:09:13 2019 +0200 tdf#101443 Horizontal inset margin of Calc input bar increased Change-Id: Ic609da4b8b5fae0f556761c4493e490c82a6386d Reviewed-on: https://gerrit.libreoffice.org/74214 Tested-by: Jenkins Reviewed-by: Katarina Behrens <katarina.behr...@cib.de> diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx index 14cd3595c5be..5732411a5bbf 100644 --- a/sc/source/ui/app/inputwin.cxx +++ b/sc/source/ui/app/inputwin.cxx @@ -999,9 +999,9 @@ ScTextWndGroup::ScTextWndGroup(vcl::Window* pParent, ScTabViewShell* pViewSh) maTextWnd(VclPtr<ScTextWnd>::Create(this, pViewSh)), maScrollBar(VclPtr<ScrollBar>::Create(this, WB_TABSTOP | WB_VERT | WB_DRAG)) { - maTextWnd->SetPosPixel(Point(gnBorderWidth, gnBorderHeight)); + maTextWnd->SetPosPixel(Point(2 * gnBorderWidth, gnBorderHeight)); Size aSize = GetSizePixel(); - maTextWnd->SetSizePixel(Size(aSize.Width() - 2 * gnBorderWidth, aSize.Height() - 2 * gnBorderHeight)); + maTextWnd->SetSizePixel(Size(aSize.Width() - 4 * gnBorderWidth, aSize.Height() - 2 * gnBorderHeight)); maTextWnd->Show(); maTextWnd->SetQuickHelpText(ScResId(SCSTR_QHELP_INPUTWND)); maTextWnd->SetHelpId(HID_INSWIN_INPUT); @@ -1111,13 +1111,13 @@ void ScTextWndGroup::Resize() maScrollBar->SetLineSize(maTextWnd->GetTextHeight()); maScrollBar->Resize(); maScrollBar->Show(); - maTextWnd->SetSizePixel(Size(aSize.Width() - aScrollBarSize.Width() - gnBorderWidth - 1, + maTextWnd->SetSizePixel(Size(aSize.Width() - aScrollBarSize.Width() - 3 * gnBorderWidth - 1, aSize.Height() - 2 * gnBorderHeight)); } else { maScrollBar->Hide(); - maTextWnd->SetSizePixel(Size(aSize.Width() - 2 * gnBorderWidth, aSize.Height() - 2 * gnBorderHeight)); + maTextWnd->SetSizePixel(Size(aSize.Width() - 4 * gnBorderWidth, aSize.Height() - 2 * gnBorderHeight)); } maTextWnd->Resize(); Invalidate(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits