diff --git a/src/preferences/appearance/APRView.cpp b/src/preferences/appearance/APRView.cpp index 8dc61389d8..f3e8b802ef 100644 --- a/src/preferences/appearance/APRView.cpp +++ b/src/preferences/appearance/APRView.cpp @@ -158,8 +158,8 @@ APRView::APRView(const BRect &frame, const char *name, int32 resize, int32 flags fColorWell->MoveBy(0, delta); fPicker->MoveBy(0, delta); fScrollView->ResizeBy(0, delta); - // TODO fix BView::ResizeBy(...): - // the child views should resize with its parent view (fScrollView) + // since this view is not attached to a window yet, + // we have to resize the fScrollView children too fScrollView->ScrollBar(B_VERTICAL)->ResizeBy(0, delta); fAttrList->ResizeBy(0, delta); }