1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:37:46 +00:00

FilePicker: Replace Label with Image component to show icons

This commit is contained in:
Hüseyin ASLITÜRK 2020-06-13 01:25:01 +03:00 committed by Andreas Kling
parent 02eb268c3e
commit 56e82a2c07
2 changed files with 7 additions and 6 deletions

View file

@ -30,6 +30,7 @@
#include <AK/Optional.h>
#include <LibCore/StandardPaths.h>
#include <LibGUI/Dialog.h>
#include <LibGUI/Image.h>
namespace GUI {
@ -73,7 +74,7 @@ private:
LexicalPath m_selected_file;
RefPtr<TextBox> m_filename_textbox;
RefPtr<Label> m_preview_image_label;
RefPtr<Image> m_preview_image_label;
RefPtr<Label> m_preview_name_label;
RefPtr<Label> m_preview_geometry_label;
Mode m_mode { Mode::Open };