diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2019-08-31 22:09:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-31 22:09:15 +0200 |
| commit | 3fdf85cd9b12a8cd6ebb5467603230c2ac853613 (patch) | |
| tree | eb20ce8d87587d32e674f4ac848361623a59f7f5 /editor/plugins/asset_library_editor_plugin.cpp | |
| parent | 61eeace97238dea90a4231649cad74bc7e2303fb (diff) | |
| parent | d6984f7311e62fd028f1863ee448e20603e4d195 (diff) | |
Merge pull request #31794 from Calinou/editor-increase-line-spacing
Increase line spacing in the editor help and asset library descriptions
Diffstat (limited to 'editor/plugins/asset_library_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/asset_library_editor_plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/asset_library_editor_plugin.cpp b/editor/plugins/asset_library_editor_plugin.cpp index cb68f5eaaf..894e5c7298 100644 --- a/editor/plugins/asset_library_editor_plugin.cpp +++ b/editor/plugins/asset_library_editor_plugin.cpp @@ -290,6 +290,7 @@ EditorAssetLibraryItemDescription::EditorAssetLibraryItemDescription() { desc_vbox->add_child(description); description->set_v_size_flags(SIZE_EXPAND_FILL); description->connect("meta_clicked", this, "_link_click"); + description->add_constant_override("line_separation", Math::round(5 * EDSCALE)); VBoxContainer *previews_vbox = memnew(VBoxContainer); hbox->add_child(previews_vbox); |