From a83b974b1399ecd8b755254ea7cd28c9cb0bb7ee Mon Sep 17 00:00:00 2001 From: Julian Harnath Date: Sun, 26 Nov 2017 17:59:39 +0000 Subject: [PATCH] HaikuDepot: make status bar smaller * As requested in #13808 * Thanks to Janus for the tip with the SetBarHeight --- src/apps/haikudepot/ui/WorkStatusView.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/apps/haikudepot/ui/WorkStatusView.cpp b/src/apps/haikudepot/ui/WorkStatusView.cpp index ef018214e1..447d87bdf4 100644 --- a/src/apps/haikudepot/ui/WorkStatusView.cpp +++ b/src/apps/haikudepot/ui/WorkStatusView.cpp @@ -36,11 +36,14 @@ WorkStatusView::WorkStatusView(const char* name) fProgressLayout->AddView(fProgressBar); fProgressBar->SetMaxValue(1.0f); + fProgressBar->SetBarHeight(16); + + fStatusText->SetFontSize(be_plain_font->Size() * 0.9f); BLayoutBuilder::Group<>(this, B_VERTICAL, 0) .Add(new BSeparatorView()) .AddGroup(B_HORIZONTAL) - .SetInsets(5, 5, 5, 5) + .SetInsets(5, 2, 5, 2) .Add(fProgressLayout, 0.2f) .Add(fStatusText) .AddGlue()