Description

Borders around edit inline items seem wrong. Inline items get their own dark header bar but nothing at the end of the item so it doesn't appear separate from the next property in the parent object.

At the very least I think it needs a rounded edge and a strip of light grey between the inline item and the next property.

Ideally it would also slightly indent the whole inline item so it looks like a "sub-item". It already indents the expander arrow to show this relationship. The bordering should be linked to this.

Steps to Reproduce

This test class code repro'd the issue in the property editor:

UCLASS()
class UQATestItem : public UObject

{ GENERATED_UCLASS_BODY() UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Item) int32 SomeInteger; UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Item) bool SomeBool; UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Item) float SomeFloat; UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Item) FSlateColor SomeColor; }

;

UCLASS(Blueprintable, editinlinenew)
class UQATestSet : public UObject

{ GENERATED_UCLASS_BODY() UPROPERTY(EditInstanceOnly, BlueprintReadWrite, Instanced, Category = TestSet) TArray<UQATestItem*> Items; UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = TestSet) int32 ReadOnlyCount; }

;

UCLASS(Blueprintable)
class AQATestClass : public AActor

{ GENERATED_UCLASS_BODY() UPROPERTY(EditInstanceOnly, BlueprintReadWrite, Instanced, Category = ItemSets) UQATestSet* BeginTestSet; UPROPERTY(EditInstanceOnly, BlueprintReadWrite, Instanced, Category = ItemSets) UQATestSet* EndTestSet; }

;

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-16663 in the post.

1
Login to Vote

Won't Fix
ComponentTools
Affects Versions4.7.6
CreatedJun 8, 2015
ResolvedAug 18, 2021
UpdatedAug 18, 2021