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

LibGUI: Only show FilePicker preview pane on demand

FilePicker::set_preview() and FilePicker::clear_preview() now show and
hide the preview pane respectively.
This commit is contained in:
Linus Groh 2020-06-30 09:39:24 +01:00 committed by Andreas Kling
parent 6b61d4656f
commit 5acc457c06
2 changed files with 12 additions and 8 deletions

View file

@ -74,6 +74,7 @@ private:
LexicalPath m_selected_file;
RefPtr<TextBox> m_filename_textbox;
RefPtr<Frame> m_preview_container;
RefPtr<Image> m_preview_image;
RefPtr<Label> m_preview_name_label;
RefPtr<Label> m_preview_geometry_label;