From 47b3e74e2dbffda745821f07652574f3eae76508 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Fri, 5 May 2006 19:56:33 +0000 Subject: [PATCH] reduced the padding for the border, which is only 2 pixels per side, not 4 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17345 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/TextControl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/interface/TextControl.cpp b/src/kits/interface/TextControl.cpp index 68a6ae857d..0dbebb9ad9 100644 --- a/src/kits/interface/TextControl.cpp +++ b/src/kits/interface/TextControl.cpp @@ -659,7 +659,7 @@ BTextControl::_InitData(const char* label, const char* initialText, bounds.right, bounds.bottom); // we are stroking the frame around the text view, which // is 2 pixels wide - frame.InsetBy(4.0, 3.0); + frame.InsetBy(2.0, 3.0); BRect textRect(frame.OffsetToCopy(B_ORIGIN)); fText = new _BTextInput_(frame, textRect,