mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 00:58:12 +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:
parent
de57628a46
commit
f242d6e559
2 changed files with 4 additions and 0 deletions
|
@ -66,6 +66,9 @@ int main(int argc, char** argv)
|
||||||
progressbar->set_caption("Generating thumbnails: ");
|
progressbar->set_caption("Generating thumbnails: ");
|
||||||
progressbar->set_format(GProgressBar::Format::ValueSlashMax);
|
progressbar->set_format(GProgressBar::Format::ValueSlashMax);
|
||||||
progressbar->set_visible(false);
|
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) {
|
location_textbox->on_return_pressed = [directory_view] (auto& editor) {
|
||||||
directory_view->open(editor.text());
|
directory_view->open(editor.text());
|
||||||
|
|
|
@ -11,6 +11,7 @@ GStatusBar::GStatusBar(GWidget* parent)
|
||||||
set_preferred_size({ 0, 20 });
|
set_preferred_size({ 0, 20 });
|
||||||
set_layout(make<GBoxLayout>(Orientation::Horizontal));
|
set_layout(make<GBoxLayout>(Orientation::Horizontal));
|
||||||
layout()->set_margins({ 2, 2, 2, 2 });
|
layout()->set_margins({ 2, 2, 2, 2 });
|
||||||
|
layout()->set_spacing(2);
|
||||||
m_label = new GLabel(this);
|
m_label = new GLabel(this);
|
||||||
m_label->set_frame_shadow(GFrame::Shadow::Sunken);
|
m_label->set_frame_shadow(GFrame::Shadow::Sunken);
|
||||||
m_label->set_frame_shape(GFrame::Shape::Panel);
|
m_label->set_frame_shape(GFrame::Shape::Panel);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue