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
commit f242d6e559
Notes: sideshowbarker 2024-07-19 14:53:28 +09:00
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());