Skip to content

Commit

Permalink
Fix for other truncation warnings on new UI code
Browse files Browse the repository at this point in the history
  • Loading branch information
SRombautsU committed Dec 5, 2023
1 parent 088f2dc commit 2c39e80
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void SPlasticSourceControlBranchesWidget::Construct(const FArguments& InArgs)
#else
.BorderImage(FEditorStyle::GetBrush("DetailsView.CategoryBottom"))
#endif
.Padding(4)
.Padding(4.0f)
[
SNew(SHorizontalBox)
+SHorizontalBox::Slot()
Expand All @@ -72,13 +72,13 @@ void SPlasticSourceControlBranchesWidget::Construct(const FArguments& InArgs)
CreateToolBar()
]
+SHorizontalBox::Slot()
.MaxWidth(10)
.MaxWidth(10.0f)
[
SNew(SSpacer)
]
+SHorizontalBox::Slot()
.VAlign(VAlign_Center)
.MaxWidth(300)
.MaxWidth(300.0f)
[
SAssignNew(FileSearchBox, SSearchBox)
.HintText(LOCTEXT("SearchBranches", "Search Branches"))
Expand All @@ -87,8 +87,8 @@ void SPlasticSourceControlBranchesWidget::Construct(const FArguments& InArgs)
]
+SHorizontalBox::Slot()
.VAlign(VAlign_Center)
.MaxWidth(125)
.Padding(FMargin(10.f, 0.f))
.MaxWidth(125.0f)
.Padding(10.f, 0.f)
[
SNew(SComboButton)
.ToolTipText(LOCTEXT("PlasticBranchesDate_Tooltip", "Filter the list of branches by date of creation."))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void SPlasticSourceControlCreateBranch::Construct(const FArguments& InArgs)
]
+SVerticalBox::Slot()
.AutoHeight()
.Padding(FMargin(5.0f))
.Padding(5.0f)
.VAlign(VAlign_Center)
[
SNew(SHorizontalBox)
Expand Down Expand Up @@ -79,8 +79,8 @@ void SPlasticSourceControlCreateBranch::Construct(const FArguments& InArgs)
.FillWidth(6.0f)
[
SNew(SBox)
.MinDesiredHeight(120)
.WidthOverride(520)
.MinDesiredHeight(120.0f)
.WidthOverride(520.0f)
[
SNew(SMultiLineEditableTextBox)
.AutoWrapText(true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ void SPlasticSourceControlStatusBar::Construct(const FArguments& InArgs)
.OnClicked(this, &SPlasticSourceControlStatusBar::OnClicked)
[
SNew(SHorizontalBox)
+ SHorizontalBox::Slot()
+SHorizontalBox::Slot()
.AutoWidth()
.VAlign(VAlign_Center)
.HAlign(HAlign_Center)
Expand All @@ -42,10 +42,10 @@ void SPlasticSourceControlStatusBar::Construct(const FArguments& InArgs)
.Image(FEditorStyle::GetBrush("SourceControl.Branch"))
#endif
]
+ SHorizontalBox::Slot()
+SHorizontalBox::Slot()
.AutoWidth()
.VAlign(VAlign_Center)
.Padding(FMargin(5, 0, 0, 0))
.Padding(5.0f, 0.0f, 0.0f, 0.0f)
[
SNew(STextBlock)
#if ENGINE_MAJOR_VERSION == 5 && ENGINE_MINOR_VERSION >= 1
Expand Down

0 comments on commit 2c39e80

Please sign in to comment.