summaryrefslogtreecommitdiff
path: root/Applications/FileManager
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-03-30 13:12:59 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-03-30 13:12:59 +0100
commitf242d6e5590fa58d1391b3080ed6e00a36f118b2 (patch)
tree548e68f68feec2c1a29aef6cbca9c9b61554617b /Applications/FileManager
parentde57628a46ad5fd1b292f2e2d0f6f87c0af9c274 (diff)
downloadserenity-f242d6e5590fa58d1391b3080ed6e00a36f118b2.zip
FileManager: Tweak look of thumbnailing progress bar.
Since it's inside a status bar, it looks a bit better when using a panel shape with sunken shadow.
Diffstat (limited to 'Applications/FileManager')
-rw-r--r--Applications/FileManager/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Applications/FileManager/main.cpp b/Applications/FileManager/main.cpp
index 1b8ba22f1e..dd766b115e 100644
--- a/Applications/FileManager/main.cpp
+++ b/Applications/FileManager/main.cpp
@@ -66,6 +66,9 @@ int main(int argc, char** argv)
progressbar->set_caption("Generating thumbnails: ");
progressbar->set_format(GProgressBar::Format::ValueSlashMax);
progressbar->set_visible(false);
+ progressbar->set_frame_shape(GFrame::Shape::Panel);
+ progressbar->set_frame_shadow(GFrame::Shadow::Sunken);
+ progressbar->set_frame_thickness(1);
location_textbox->on_return_pressed = [directory_view] (auto& editor) {
directory_view->open(editor.text());