diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-03-30 13:12:59 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-03-30 13:12:59 +0100 |
commit | f242d6e5590fa58d1391b3080ed6e00a36f118b2 (patch) | |
tree | 548e68f68feec2c1a29aef6cbca9c9b61554617b /Applications/FileManager | |
parent | de57628a46ad5fd1b292f2e2d0f6f87c0af9c274 (diff) | |
download | serenity-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.cpp | 3 |
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()); |