add a small gutter to the textedit window.
This commit is contained in:
@@ -3536,6 +3536,10 @@ void YabInterface::TextEdit(BRect frame, const char* title, int scrollbar, const
|
|||||||
|
|
||||||
textframe = frame;
|
textframe = frame;
|
||||||
textframe.OffsetTo(B_ORIGIN);
|
textframe.OffsetTo(B_ORIGIN);
|
||||||
|
textframe.right -=2;
|
||||||
|
textframe.bottom -=2;
|
||||||
|
textframe.top +=2;
|
||||||
|
textframe.left +=2;
|
||||||
|
|
||||||
if(w->layout == -1)
|
if(w->layout == -1)
|
||||||
resizeMode = B_FOLLOW_ALL;
|
resizeMode = B_FOLLOW_ALL;
|
||||||
|
|||||||
Reference in New Issue
Block a user