Ticket #3897: foobar.patch
File foobar.patch, 853 bytes (added by , 14 years ago) |
---|
-
src/kits/interface/ColumnListView.cpp
4043 4043 BRow* parentRow; 4044 4044 bool parentIsVisible; 4045 4045 float subTreeHeight = row->Height(); 4046 if (FindParent(row, &parentRow, &parentIsVisible)) { 4046 bool result = FindParent(row, &parentRow, &parentIsVisible); 4047 if (result || parentRow == NULL) { 4047 4048 // adjust height 4048 4049 if (parentIsVisible && (parentRow == 0 || parentRow->fIsExpanded)) { 4049 4050 if (row->fIsExpanded) { 4050 4051 for (RecursiveOutlineIterator iterator(row->fChildList); 4051 4052 iterator.CurrentRow(); iterator.GoToNext()) 4052 subTreeHeight += iterator.CurrentRow()->Height() ;4053 subTreeHeight += iterator.CurrentRow()->Height() + 1; 4053 4054 } 4054 4055 } 4055 4056 }