Tweaked styles and layout to better suit a tab.
Also fixed browser not showing some tutorials if all assets are not yet loaded.
Progress is now updated periodically as the browser can be now open while a tutorial is in progress.
TTP# 347956 - TUTORIALS: Selecting More Tutorials can hide Tutorial Browser
[CL 2327011 by Thomas Sarkanen in Main branch]
Slate changes:
Allowed hyperlink decorator and hyperlink run to be more easily derived from by moving some functions/variables to protected.
Added new run & decorator for hyperlinks in tutorials that add an icon to the end of the run if required.
Only use icon-style run if in display mode (not in edit mode).
reviewed by Jamie.Dale
[CL 2322460 by Thomas Sarkanen in Main branch]
TTP #343071 CORE: FCoreDelegates should not have references to UObjects.
#codereview Robert.Manuszewski
[CL 2317144 by Mikolaj Sieluzycki in Main branch]
Override parameter passed in to LaunchTutorial when the tutorial has been completed already.
TTP# 348110 - EDITOR: TUTORIALS: Completed tutorials should always restart when re-taken
[CL 2315684 by Thomas Sarkanen in Main branch]
Rearranged layout/padding a little to compensate for larger apparent button size.
Kept larger button hitbox, which required some custom border handling for the button.
TTP# 348109 - EDITOR: TUTORIALS: Add green buttons to tutorials
[CL 2314257 by Thomas Sarkanen in Main branch]
TTP# 347884 - EDITOR: TUTORIALS: text does not expand when maximizing the window
The auto-wrapping allowed the text block to shrink when the window was shrunk, however the sizers were set to align their content left horizontally (rather than fill, which is the default) meaning that the text block was never allowed to grow again once it had shrunk.
A better way to achieve this is to set the sizer slots to fill, and then use the text justification on the text block to control the text location - thankfully both of these are the defaults.
#codereview Thomas.Sarkanen
[CL 2313013 by Jamie Dale in Main branch]
As with the content browser, these buttons only function as back and forward when they are clicked within the bounds of the widget.
TTP# 347536 - TUTORIALS: Add Forward/Back web browser controls
[CL 2312859 by Thomas Sarkanen in Main branch]
If we have a search string we should search all categories starting at the current context, rather than just one level deep as before.
Also fixed search text highlighting to be consistently coloured and to show up for rich text content.
TTP# 347534 - CRITICAL: TUTORIALS: Search bar only shows results for currently displayed tutorials
[CL 2312725 by Thomas Sarkanen in Main branch]
Displays crumbs according to the current navigation filter.
TTP# 347533 - TUTORIALS: Display tree path in Tutorial Window
[CL 2312668 by Thomas Sarkanen in Main branch]
Added a fallback to treat the path passed-in as a documentation path if the asset path doesnt correspond to a BP.
[CL 2309566 by Thomas Sarkanen in Main branch]
Tutorials browser now always appears on the mainframe. This avoids the browser appearing on small torn-off windows if content is torn off while a tutorial is in progress.
Also fixed crash when opening a browser from a widget that used to be docked to anotehr tab (weak window pointer was invalid at this point).
TTP# 347014 - EDITOR: TUTORIAL: If a tab is undocked while being referenced in the "welcome to the unreal editor" tutorial, there will be two instances of the tutorial text
[CL 2305366 by Thomas Sarkanen in Main branch]
Also allow tutorials to be hidden from the browser if necessary
TTP# 347111 - TUTORIALS:Tutorials browser shows MacroLibraries based on EditorTutorial class
[CL 2305308 by Thomas Sarkanen in Main branch]
Make sure we have an overlay constructed for the window we just created for the asset.
TTP# 347174 - TUTORIAL: When clicking on a sub editor tutorial, the tutorial does not automatically popup if the sub editor is not already opened
[CL 2305305 by Thomas Sarkanen in Main branch]