Improve space management for EditorFileDialog
Move buttons related to the file view on the container above so that they take less horizontal space and make search bar similar to the one in FileDialog
This commit is contained in:
@ -37,12 +37,24 @@
|
||||
Adds the given [param menu] to the side of the file dialog with the given [param title] text on top. Only one side menu is allowed.
|
||||
</description>
|
||||
</method>
|
||||
<method name="clear_filename_filter">
|
||||
<return type="void" />
|
||||
<description>
|
||||
Clear the filter for file names.
|
||||
</description>
|
||||
</method>
|
||||
<method name="clear_filters">
|
||||
<return type="void" />
|
||||
<description>
|
||||
Removes all filters except for "All Files (*)".
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_filename_filter" qualifiers="const">
|
||||
<return type="String" />
|
||||
<description>
|
||||
Returns the value of the filter for file names.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_line_edit">
|
||||
<return type="LineEdit" />
|
||||
<description>
|
||||
@ -96,6 +108,13 @@
|
||||
Shows the [EditorFileDialog] at the default size and position for file dialogs in the editor, and selects the file name if there is a current file.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_filename_filter">
|
||||
<return type="void" />
|
||||
<param index="0" name="filter" type="String" />
|
||||
<description>
|
||||
Sets the value of the filter for file names.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_option_default">
|
||||
<return type="void" />
|
||||
<param index="0" name="option" type="int" />
|
||||
@ -168,6 +187,12 @@
|
||||
Emitted when a file is selected.
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="filename_filter_changed">
|
||||
<param index="0" name="filter" type="String" />
|
||||
<description>
|
||||
Emitted when the filter for file names changes.
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="files_selected">
|
||||
<param index="0" name="paths" type="PackedStringArray" />
|
||||
<description>
|
||||
|
||||
Reference in New Issue
Block a user