ProcessController: Fixed bars so they are aligned in center and scale
with the selected fonts Change-Id: I016c600d62ea28d4197f94f29ec0c372b5a87169 Reviewed-on: https://review.haiku-os.org/c/haiku/+/1848 Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
d46af3075e
commit
9b695ae61d
@@ -118,8 +118,8 @@ MemoryBarMenuItem::DrawBar(bool force)
|
||||
|
||||
// draw the bar itself
|
||||
|
||||
BRect rect(frame.right - kMargin - kBarWidth, frame.top + 5,
|
||||
frame.right - kMargin, frame.top + 13);
|
||||
BRect rect(frame.right - kMargin - kBarWidth, frame.top + kBarPadding,
|
||||
frame.right - kMargin, frame.bottom - kBarPadding);
|
||||
if (fWriteMemory < 0)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user