Make UI panel backgrounds fully opaque (alpha 1.0)

Fixes inconsistency between PIE (transparent) and packaged (opaque).
All SBorder BackgroundColor alpha changed from 0.85 to 1.0.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-12 18:38:07 +02:00
parent a91aac1192
commit bc33a8f64b

View File

@@ -56,7 +56,7 @@ TSharedRef<SWidget> UPS_Editor_MainWidget::RebuildWidget()
.AutoHeight()
[
SNew(SBorder)
.BorderBackgroundColor(FLinearColor(0.05f, 0.05f, 0.05f, 0.85f))
.BorderBackgroundColor(FLinearColor(0.05f, 0.05f, 0.05f, 1.0f))
.Padding(FMargin(12.0f, 8.0f))
[
SNew(SHorizontalBox)
@@ -130,7 +130,7 @@ TSharedRef<SWidget> UPS_Editor_MainWidget::RebuildWidget()
.Padding(16.0f)
[
SNew(SBorder)
.BorderBackgroundColor(FLinearColor(0.05f, 0.05f, 0.05f, 0.85f))
.BorderBackgroundColor(FLinearColor(0.05f, 0.05f, 0.05f, 1.0f))
.Padding(FMargin(16.0f, 6.0f))
[
SNew(SHorizontalBox)
@@ -239,7 +239,7 @@ TSharedRef<SWidget> UPS_Editor_MainWidget::BuildToolbar()
};
return SNew(SBorder)
.BorderBackgroundColor(FLinearColor(0.05f, 0.05f, 0.05f, 0.85f))
.BorderBackgroundColor(FLinearColor(0.05f, 0.05f, 0.05f, 1.0f))
.Padding(FMargin(8.0f, 4.0f))
[
SNew(SHorizontalBox)
@@ -388,7 +388,7 @@ TSharedRef<SWidget> UPS_Editor_MainWidget::BuildPropertiesPanel()
const FLinearColor BlueZ(0.1f, 0.3f, 0.8f);
return SNew(SBorder)
.BorderBackgroundColor(FLinearColor(0.05f, 0.05f, 0.05f, 0.85f))
.BorderBackgroundColor(FLinearColor(0.05f, 0.05f, 0.05f, 1.0f))
.Padding(FMargin(10.0f, 8.0f))
[
SNew(SVerticalBox)
@@ -440,7 +440,7 @@ TSharedRef<SWidget> UPS_Editor_MainWidget::BuildPropertiesPanel()
TSharedRef<SWidget> UPS_Editor_MainWidget::BuildSceneButtons()
{
return SNew(SBorder)
.BorderBackgroundColor(FLinearColor(0.05f, 0.05f, 0.05f, 0.85f))
.BorderBackgroundColor(FLinearColor(0.05f, 0.05f, 0.05f, 1.0f))
.Padding(FMargin(8.0f, 4.0f))
[
SNew(SVerticalBox)
@@ -801,7 +801,7 @@ TSharedRef<SWidget> UPS_Editor_MainWidget::BuildSpawnCatalog()
];
return SNew(SBorder)
.BorderBackgroundColor(FLinearColor(0.05f, 0.05f, 0.05f, 0.85f))
.BorderBackgroundColor(FLinearColor(0.05f, 0.05f, 0.05f, 1.0f))
.Padding(FMargin(10.0f, 8.0f))
[
SNew(SBox)
@@ -1349,7 +1349,7 @@ void UPS_Editor_MainWidget::ApplyTransformFromUI()
TSharedRef<SWidget> UPS_Editor_MainWidget::BuildOutliner()
{
return SNew(SBorder)
.BorderBackgroundColor(FLinearColor(0.05f, 0.05f, 0.05f, 0.85f))
.BorderBackgroundColor(FLinearColor(0.05f, 0.05f, 0.05f, 1.0f))
.Padding(FMargin(10.0f, 8.0f))
[
SNew(SVerticalBox)