Download

Diagonal stripes on modal window background

I have a modal dialog window in my game that opens as a new window. It works fine, except that I am unable to set the background color. The background is dark grey diagonal stripes. I’m guessing the diagonal stripes are there due to some error condition it’s trying to tell me about.

This is the code snippet:



		this->ChildSlot
			
				SNew(SBorder)
					.HAlign(HAlign_Fill)
					.VAlign(VAlign_Fill)
					.Padding(FMargin(20.0f,20.0f))
					.BorderBackgroundColor(FSlateColor(FLinearColor(0.05f,0.05f,0.05f,1.0f)))
					
						SAssignNew(MainDisplayVBox, SVerticalBox)


Any ideas?