From 8adfeda6f86c01675a489f421e8d538f433c392c Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Fri, 14 Aug 2020 02:32:58 -0300 Subject: [PATCH] Make the editor's 'CheckButton' icon be smaller (cherry picked from commit 0c182ce8e8eac8e85c09eed75c3f284be03fd323) --- editor/connections_dialog.cpp | 5 ----- editor/icons/icon_GUI_toggle_off.svg | 2 +- editor/icons/icon_GUI_toggle_on.svg | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/editor/connections_dialog.cpp b/editor/connections_dialog.cpp index d0ee4acf69c..afdcad833ba 100644 --- a/editor/connections_dialog.cpp +++ b/editor/connections_dialog.cpp @@ -464,11 +464,6 @@ ConnectDialog::ConnectDialog() { advanced->set_text(TTR("Advanced")); advanced->connect("pressed", this, "_advanced_pressed"); - // Add spacing so the tree and inspector are the same size. - Control *spacing = memnew(Control); - spacing->set_custom_minimum_size(Size2(0, 4) * EDSCALE); - vbc_right->add_child(spacing); - deferred = memnew(CheckBox); deferred->set_h_size_flags(0); deferred->set_text(TTR("Deferred")); diff --git a/editor/icons/icon_GUI_toggle_off.svg b/editor/icons/icon_GUI_toggle_off.svg index 928b55b2011..9644ef176cd 100644 --- a/editor/icons/icon_GUI_toggle_off.svg +++ b/editor/icons/icon_GUI_toggle_off.svg @@ -1 +1 @@ - + diff --git a/editor/icons/icon_GUI_toggle_on.svg b/editor/icons/icon_GUI_toggle_on.svg index a79a8290b1e..8ab0998f718 100644 --- a/editor/icons/icon_GUI_toggle_on.svg +++ b/editor/icons/icon_GUI_toggle_on.svg @@ -1 +1 @@ - +