From 26f87296049812caa32a7fb6e5b638ec3390f765 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sun, 10 May 2020 21:07:38 +0100 Subject: [PATCH] Cleaned-up FImGuiKeyInfoCustomization and fixed padding. --- Source/ImGui/Private/Editor/ImGuiKeyInfoCustomization.cpp | 2 +- Source/ImGui/Private/Editor/ImGuiKeyInfoCustomization.h | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Source/ImGui/Private/Editor/ImGuiKeyInfoCustomization.cpp b/Source/ImGui/Private/Editor/ImGuiKeyInfoCustomization.cpp index b47cd2c..af18678 100644 --- a/Source/ImGui/Private/Editor/ImGuiKeyInfoCustomization.cpp +++ b/Source/ImGui/Private/Editor/ImGuiKeyInfoCustomization.cpp @@ -137,7 +137,7 @@ namespace namespace InputConstants { - static const FMargin PropertyPadding(2.0f, 0.0f, 2.0f, 0.0f); + static const FMargin PropertyPadding(0.0f, 0.0f, 4.0f, 0.0f); } TSharedRef FImGuiKeyInfoCustomization::MakeInstance() diff --git a/Source/ImGui/Private/Editor/ImGuiKeyInfoCustomization.h b/Source/ImGui/Private/Editor/ImGuiKeyInfoCustomization.h index 70c3924..3f775dc 100644 --- a/Source/ImGui/Private/Editor/ImGuiKeyInfoCustomization.h +++ b/Source/ImGui/Private/Editor/ImGuiKeyInfoCustomization.h @@ -8,10 +8,6 @@ #include -class FDetailWidgetRow; -class IDetailChildrenBuilder; -class IPropertyHandle; - // Property type customization for FImGuiKeyInfo. class FImGuiKeyInfoCustomization : public IPropertyTypeCustomization {