1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 20:47:45 +00:00

LibGUI: Rename ProgressBar property caption => text and expose to GML

This commit is contained in:
Andreas Kling 2020-12-20 12:29:40 +01:00
parent 92afdd0c86
commit de08e7b8c9
4 changed files with 6 additions and 5 deletions

View file

@ -48,6 +48,7 @@
@GUI::ProgressBar {
name: "progressbar"
text: "Generating thumbnails: "
visible: false
}
}

View file

@ -341,7 +341,6 @@ int run_in_windowed_mode(RefPtr<Core::ConfigFile> config, String initial_locatio
auto& statusbar = (GUI::StatusBar&)*widget.find_descendant_by_name("statusbar");
auto& progressbar = (GUI::ProgressBar&)*widget.find_descendant_by_name("progressbar");
progressbar.set_caption("Generating thumbnails: ");
progressbar.set_format(GUI::ProgressBar::Format::ValueSlashMax);
progressbar.set_frame_shape(Gfx::FrameShape::Panel);
progressbar.set_frame_shadow(Gfx::FrameShadow::Sunken);