You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Deprecating .Icon() as a slate attribute on SDockTab. By default, tab icons fall back to using the one for the tab spawner's menu item. SetTabIcon can be used in the edge cases where an icon needs to be set that doesn't match the default. Updating all found cases of .Icon() usage on SDockTab.
#jira UETOOL-3429 #preflight 60996a2bdd2e00000126ff25 #rb Matt.Kuhlenschmidt [CL 16251489 by Lauren Barnes in ue5-main branch]
This commit is contained in:
@@ -199,7 +199,6 @@ TSharedRef<SDockTab> FTimecodeSynchronizerEditorToolkit::SpawnPropertiesTab(cons
|
||||
check(Args.GetTabId() == TimecodeSynchronizerEditorToolkit::PropertiesTabId);
|
||||
|
||||
return SNew(SDockTab)
|
||||
.Icon(FEditorStyle::GetBrush("GenericEditor.Tabs.Properties"))
|
||||
.Label(LOCTEXT("GenericDetailsTitle", "Details"))
|
||||
.TabColorScale(GetTabColorScale())
|
||||
[
|
||||
@@ -258,7 +257,6 @@ TSharedRef<SDockTab> FTimecodeSynchronizerEditorToolkit::SpawnSourceViewerTab(co
|
||||
TSharedPtr<SWidget> TabWidget = SNew(STimecodeSynchronizerSourceViewer, *GetTimecodeSynchronizer());
|
||||
|
||||
return SNew(SDockTab)
|
||||
.Icon(FSlateIcon(FEditorStyle::GetStyleSetName(), "LevelEditor.Tabs.Viewports").GetIcon())
|
||||
.Label(LOCTEXT("GenericSourceViewerTitle", "Sources"))
|
||||
.TabColorScale(GetTabColorScale())
|
||||
[
|
||||
@@ -273,7 +271,6 @@ TSharedRef<SDockTab> FTimecodeSynchronizerEditorToolkit::SpawnSynchronizerWidget
|
||||
TSharedPtr<SWidget> TabWidget = SNew(STimecodeSynchronizerWidget, *GetTimecodeSynchronizer());
|
||||
|
||||
return SNew(SDockTab)
|
||||
.Icon(FSlateIcon(FTimecodeSynchronizerEditorStyle::GetStyleSetName(), "SynchronizationWidget.small").GetIcon())
|
||||
.Label(LOCTEXT("SynchronizerWidget", "Synchronization"))
|
||||
.TabColorScale(GetTabColorScale())
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user