1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:08:13 +00:00

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.
This commit is contained in:
Andreas Kling 2019-03-30 13:12:59 +01:00
parent de57628a46
commit f242d6e559
2 changed files with 4 additions and 0 deletions

View file

@ -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());