diff options
author | Andreas Kling <kling@serenityos.org> | 2020-12-20 12:29:40 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-12-20 12:29:40 +0100 |
commit | de08e7b8c90e2eba14e3ed6e05355f1a81f61298 (patch) | |
tree | 48e3c1f2677bd53d7d1fb7d92e63478197069889 /Applications | |
parent | 92afdd0c869d9943836492929c8146aa071289f7 (diff) | |
download | serenity-de08e7b8c90e2eba14e3ed6e05355f1a81f61298.zip |
LibGUI: Rename ProgressBar property caption => text and expose to GML
Diffstat (limited to 'Applications')
-rw-r--r-- | Applications/FileManager/FileManagerWindow.gml | 1 | ||||
-rw-r--r-- | Applications/FileManager/main.cpp | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/Applications/FileManager/FileManagerWindow.gml b/Applications/FileManager/FileManagerWindow.gml index bc6c403724..3e38c907f0 100644 --- a/Applications/FileManager/FileManagerWindow.gml +++ b/Applications/FileManager/FileManagerWindow.gml @@ -48,6 +48,7 @@ @GUI::ProgressBar { name: "progressbar" + text: "Generating thumbnails: " visible: false } } diff --git a/Applications/FileManager/main.cpp b/Applications/FileManager/main.cpp index 8edaa8211d..99d387217d 100644 --- a/Applications/FileManager/main.cpp +++ b/Applications/FileManager/main.cpp @@ -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); |