From ab4554395d121b303a398662b1906705f0b25003 Mon Sep 17 00:00:00 2001 From: Jim Saxton Date: Wed, 28 Oct 2015 22:08:05 -0700 Subject: [PATCH] add a small gutter to the textedit window. --- src/YabInterface.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/YabInterface.cpp b/src/YabInterface.cpp index 400ec01..22cfd34 100644 --- a/src/YabInterface.cpp +++ b/src/YabInterface.cpp @@ -3536,6 +3536,10 @@ void YabInterface::TextEdit(BRect frame, const char* title, int scrollbar, const textframe = frame; textframe.OffsetTo(B_ORIGIN); + textframe.right -=2; + textframe.bottom -=2; + textframe.top +=2; + textframe.left +=2; if(w->layout == -1) resizeMode = B_FOLLOW_ALL;