Different Details Panels of Component when added through C++ or Blueprint

Try using UPROPERTY(VisibleAnywhere) on SphereComponent, also check this.

I am wondering why the details panel of a component is different depending on wether it is added through C++ or Blueprint. I would prefer the Blueprint one, but would like to add the components through C++.

This is how I add the component in C++

.h file:

UPROPERTY(EditAnywhere)
	class USphereComponent* SphereComponent;

.cpp file:

SphereComponent = CreateDefaultSubobject<USphereComponent>(TEXT("Sphere Component"));

Anyone got an Idea what I am doing wrong or is that by design? If that is by design, how can I make a better details panel. Example: The Transform window is way better to work with, when it looks how in the blueprint example.

C++ Component:

Blueprint Component: