mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:27:45 +00:00
LibGUI: Rename ProgressBar property caption => text and expose to GML
This commit is contained in:
parent
92afdd0c86
commit
de08e7b8c9
4 changed files with 6 additions and 5 deletions
|
@ -48,6 +48,7 @@
|
|||
|
||||
@GUI::ProgressBar {
|
||||
name: "progressbar"
|
||||
text: "Generating thumbnails: "
|
||||
visible: false
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue