AssetPreviewHeader ​
Inherits: PanelContainer
The top of the info panel of an Assets editor: the picture of the selected file, its name, a line about it (its kind) and its path. The buttons of the editor go under it. The same look as the header of the Foliage tab, so the Assets editors read the same way.
Variables ​
TextureRect | picture | |
Label | title_label | |
Label | subtitle_label | |
Label | path_label |
Methods ​
void | show_file( texture: Texture2D, title: String, subtitle: String, path: String ) |
void | add_to( panel: Control ) |
Constants ​
floatPICTURE_SIZE =128.0
Variable descriptions ​
TextureRect picture ​
No description yet.
Label title_label ​
No description yet.
Label subtitle_label ​
No description yet.
Label path_label ​
No description yet.
Method descriptions ​
void show_file( texture: Texture2D, title: String, subtitle: String, path: String ) ​
Shows a file: its picture (null: an empty box), its name, a line about it and its path.
void add_to( panel: Control ) ​
Puts the header at the top of an info panel.