You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Set minimum size for "Version Control" diff bottom panel
Allows to see version diffs without having to expand the bottom panel manually when clicking on a changed file in the "Commit" dock.
This commit is contained in:
@@ -476,6 +476,7 @@ VersionControlEditorPlugin::VersionControlEditorPlugin() {
|
||||
|
||||
version_control_dock = memnew(PanelContainer);
|
||||
version_control_dock->set_v_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
version_control_dock->set_custom_minimum_size(Size2(0, 300) * EDSCALE);
|
||||
version_control_dock->hide();
|
||||
|
||||
diff_vbc = memnew(VBoxContainer);
|
||||
|
||||
Reference in New Issue
Block a user