Tweak the notification window again :

* Spacing of the bprogressbar is now 8pixels on each size
  * Remove the useless window tab for now

Also fix DecoratorFrame() again as BORDERED_WINDOW didn't work with it either.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43034 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adrien Destugues
2011-10-31 14:26:37 +00:00
parent 9b7ff360a0
commit 14ac1ee962
3 changed files with 12 additions and 7 deletions
@@ -105,8 +105,8 @@ NotificationView::NotificationView(NotificationWindow* win,
break;
case B_PROGRESS_NOTIFICATION:
{
BRect frame(kIconStripeWidth + 8, Bounds().bottom - 36,
Bounds().right - 8, Bounds().bottom - 8);
BRect frame(kIconStripeWidth + 9, Bounds().bottom - 36,
Bounds().right - 8, Bounds().bottom - 10);
BStatusBar* progress = new BStatusBar(frame, "progress");
progress->SetBarHeight(12.0f);
progress->SetMaxValue(1.0f);