Minor cleanup again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26423 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -731,8 +731,7 @@ BTextControl::_InitData(const char* label, const char* initialText,
|
|||||||
fText = static_cast<BPrivate::_BTextInput_*>(FindView("_input_"));
|
fText = static_cast<BPrivate::_BTextInput_*>(FindView("_input_"));
|
||||||
|
|
||||||
if (fText == NULL) {
|
if (fText == NULL) {
|
||||||
BRect frame(fDivider, bounds.top,
|
BRect frame(fDivider, bounds.top, bounds.right, bounds.bottom);
|
||||||
bounds.right, bounds.bottom);
|
|
||||||
// we are stroking the frame around the text view, which
|
// we are stroking the frame around the text view, which
|
||||||
// is 2 pixels wide
|
// is 2 pixels wide
|
||||||
frame.InsetBy(2.0, 3.0);
|
frame.InsetBy(2.0, 3.0);
|
||||||
|
|||||||
Reference in New Issue
Block a user