diff options
author | Thorsten Wagner <thorsten.wagner.4@gmail.com> | 2019-06-17 22:30:15 +0200 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2019-07-18 10:09:13 +0200 |
commit | 2b4efc32e822bf41c4b729137718f3c70f692a89 (patch) | |
tree | ff6ceb0101920be3ef0f7148fb7d60f86f51a17e /sc | |
parent | d91209f354163133eaaac0cf6e708f647d1aff17 (diff) |
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.Behrens@cib.de>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/app/inputwin.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
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(); |