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:
parent
6b61d4656f
commit
5acc457c06
2 changed files with 12 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue