Skip to content

Commit eae7683

Browse files
committed
Update the borders of framed views upon insertion or removal
Fixes #213
1 parent 85aaeca commit eae7683

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

source/tvision/tview.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,8 @@ void TView::drawUnderView( Boolean doShadow, TView* lastView )
396396
TRect r = getBounds();
397397
if( doShadow != False )
398398
r.b += shadowSize;
399+
if( (options & ofFramed) != 0 )
400+
r.grow(1, 1);
399401
drawUnderRect( r, lastView );
400402
}
401403

0 commit comments

Comments
 (0)