# FPropertyEditorModule RegisterCustomClassLayout overrides previous detail customizations

**URL:** <https://forums.unrealengine.com/t/fpropertyeditormodule-registercustomclasslayout-overrides-previous-detail-customizations/836159>\
**Category:** C++\
**Tags:** unreal-engine, editor, question, CPP\
**Created:** [March 31, 2023, 7:27pm UTC](https://forums.unrealengine.com/t/fpropertyeditormodule-registercustomclasslayout-overrides-previous-detail-customizations/836159 "2023-03-31T19:27:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fae\_Corrigan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fae\_Corrigan](https://forums.unrealengine.com/u/Fae_Corrigan)\
**Post date:** [March 31, 2023, 7:27pm UTC](https://forums.unrealengine.com/t/fpropertyeditormodule-registercustomclasslayout-overrides-previous-detail-customizations/836159/1 "2023-03-31T19:27:10Z")

</div>

Hello,  
I am trying to add a custom details panel extension to all actors in Unreal in order to be able to use both imperial and metric units as well as add some extra math functionality such as being able to type +3’ into the x position input and for it to move the object 3’.  
The problem is that if I use the code in the next section to register a details panel customization, it removes the existing customization, so I lose all the existing details customization for all actors such as the standard transform interface (shown in the image)

> static FName PropertyEditor(“PropertyEditor”);  
> FPropertyEditorModule& PropertyModule = FModuleManager::GetModuleChecked(PropertyEditor);  
> PropertyModule.RegisterCustomClassLayout(AActor::StaticClass()-\>GetFName(), FOnGetDetailCustomizationInstance::CreateStatic(&FOVFPDetails::MakeInstance));

Does anyone know of a way to extend an existing custom class layout?  
Thanks!

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/e/3/0e386f7b771fc0b022ab8e4a0bf8c87d11d65422.png)

---

<div class="post-metadata">

**Author:** ![FuzzKingCool](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fuzzkingcool/32/895179_2.png) [@FuzzKingCool](https://forums.unrealengine.com/u/FuzzKingCool)\
**Post date:** [February 8, 2024, 1:37pm UTC](https://forums.unrealengine.com/t/fpropertyeditormodule-registercustomclasslayout-overrides-previous-detail-customizations/836159/2 "2024-02-08T13:37:13Z")

</div>

> [@My IDetailCustomization broke the Transform category](https://forums.unrealengine.com/t/my-idetailcustomization-broke-the-transform-category/452318):
>
> I’m trying to add some buttons and custom info to the details panel. As a first test, I created a custom IDetailCustomization that added a button into the “Transform” category. It worked but it removed (hid?) the Location, Rotation and Scale properties from the details panel. Which lead me to the conclusion I shouldn’t mess with existing categories yet. So, I modified my IDetailCustomization to create a new category instead of using an existing one, and add my button to it. Once again, it work…
