ActivityMonitor: Style violation fixed. Thanks Axel!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35101 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1236,8 +1236,8 @@ ActivityView::_LegendHeight() const
|
||||
|
||||
int32 rows = (fSources.CountItems() + 1) / 2;
|
||||
|
||||
int32 boldMargin = Parent() &&
|
||||
(Parent()->Flags() & B_DRAW_ON_CHILDREN) != 0 ? 2 : 0;
|
||||
int32 boldMargin = Parent()
|
||||
&& (Parent()->Flags() & B_DRAW_ON_CHILDREN) != 0 ? 2 : 0;
|
||||
|
||||
return rows * (4 + ceilf(fontHeight.ascent)
|
||||
+ ceilf(fontHeight.descent) + ceilf(fontHeight.leading)) + boldMargin;
|
||||
|
||||
Reference in New Issue
Block a user