Commit Graph

2131 Commits

Author SHA1 Message Date
zahra nikbakht
fca2427175 Add accessors for SpinBox, WidgetSwitcher, Viewport
#rb patrick.boutot
#jira ue-145352
#preflight 6365741fdc30a4ce96aab62a

[CL 23087221 by zahra nikbakht in ue5-main branch]
2022-11-10 16:03:22 -05:00
halfdan ingvarsson
d48216a0e5 [Backout] - CL22948648
#fyi Helge.Mathee
Original CL Desc
-----------------------------------------------------------------
TreeView / Listview: Drag + Drop Auto Scroll / Expand

Enables auto scroll and auto expand by default for all list and tree views.

#rb lauren.barnes
#jira UE-168345
#preflight https://horde.devtools.epicgames.com/job/636288461608da6ba17aa4fb

[CL 23030642 by halfdan ingvarsson in ue5-main branch]
2022-11-08 12:00:52 -05:00
yohann dossantos
61ad1f2cc5 Fix 1 frame flickering when creating a sub text from a Rich text.
The scale was not taken into account at creation time (when creating a SlateWidgetRun), but it was updated in the next slate prepass.
Bonus: removed a bit of duplicated code.

test:
- got a 100% repro, in UMG designer, tested the fix in a simple case, but also with the rich text nested in a scaled vertical box, or in a scale box.
- played Lyra, no regression noticed.

#jira UE-169468
#rb patrick.boutot
#preflight 636a7a90d0174259cc3a094b

[CL 23029427 by yohann dossantos in ue5-main branch]
2022-11-08 11:05:04 -05:00
patrick boutot
5da8576d3f UMG: Update the CircularThrobber with getter and setter
[REVIEW] zahra.nikbakht
#preflight 63592423765b435ddd209378, 63656780581dc906bcf4c692

[CL 23012907 by patrick boutot in ue5-main branch]
2022-11-07 12:24:35 -05:00
Zak Middleton
9149ed2129 #ue5 - Truncation fixes for misc engine headers and modules:
- GameplayMediaEncoder
- GameplayTasks

#jira UE-160833
#rb Andrew.Davidson
#preflight 6362aead876630122ab1dead

[CL 22990977 by Zak Middleton in ue5-main branch]
2022-11-04 13:48:41 -04:00
Helge Mathee
720ebe7cd1 SListView: Fix non-unity build break
#rb patrick.boutot
#jira na
#preflight skip

[CL 22954400 by Helge Mathee in ue5-main branch]
2022-11-03 11:28:20 -04:00
sebastian nordgren
2666170b8f The "Packaging/Cooking complete" toasts now display for the correct duration.
SNotificationList::Tick() now only updates the InternalTime when bAutoExpire is set.

#jira UE-169054
#review-22950858 @jeanmichel.dignard
#preflight 6363d0a9c53af2f47f62cea4

[CL 22953128 by sebastian nordgren in ue5-main branch]
2022-11-03 10:47:38 -04:00
Helge Mathee
3ec9f281b5 TreeView / Listview: Drag + Drop Auto Scroll / Expand
Enables auto scroll and auto expand by default for all list and tree views.

#rb lauren.barnes
#jira UE-168345
#preflight https://horde.devtools.epicgames.com/job/636288461608da6ba17aa4fb

[CL 22948648 by Helge Mathee in ue5-main branch]
2022-11-03 05:52:04 -04:00
aditya ravichandran
dcfd86eedf Add the ability to provide a tooltip for menu items that use widgets
#jira UE-149022
#rb Lauren.Barnes
#preflight 63612687731604696a109fdd

[CL 22882146 by aditya ravichandran in ue5-main branch]
2022-11-01 10:12:45 -04:00
yohann dossantos
e3275ca59b Improve Scrollbox slot to support the same settings than the vertical/horizontal/stack box:
- size rule auto and strech.
- max size.
Expose the size rule also in the ScrollBoxSlot for UMG.

tests:
-reverted some workaround in the code and used the new FillSize slot parameter with success.
-tested a lot of sub editors, as the code also impact vertical/horizontal box.
-created new UMG data in QAGame using the new attributes (will submit them soon), and used blueprint graph to change the size settings of a scrollbox slot.

#jira UE-161777
#rb patrick.boutot
#preflight 6360112be86070572fd89aae

[CL 22868510 by yohann dossantos in ue5-main branch]
2022-10-31 14:44:30 -04:00
sebastian nordgren
6a1bc47892 Read-only textboxes won't try to commit text when losing focus anymore.
Reported on UDN.

[REVIEW] [at]lauren.barnes, [at]jamie.dale

[CL 22858425 by sebastian nordgren in ue5-main branch]
2022-10-31 07:37:43 -04:00
henrik karlsson
cd1466475b Fixed up const/constexpr variables in header files to be "inline"
This is required for c++ modules/header units in order to decide if constexpr/const value should be available to outside module

#preflight 635c0b5c1803be35c767e0ea
#rb none

[CL 22835882 by henrik karlsson in ue5-main branch]
2022-10-28 15:38:42 -04:00
yiliang siew
5a52461d45 Fix all -Winconsistent-missing-override warnings.
#rb Patrick.Boutot
#preflight 635726473d41a4455a743042

[CL 22796066 by yiliang siew in ue5-main branch]
2022-10-26 18:20:02 -04:00
henrik karlsson
b5b86c796c This change is a strategical submit for a coming change that removes lots of includes in headers that are included by many files. This change contains adding of includes in files that previously got those includes transitively from other inclkudes
#preflight 6355d4940313c24974b2107b
#rb none

[CL 22783162 by henrik karlsson in ue5-main branch]
2022-10-26 12:57:32 -04:00
Vincent Gauthier
1947c91424 Remove ensure in slate when OnTouchEnded is called without a OnTouchStarted.
#jira UE-168142
#rb yohann.dossantos,patrick.boutot
#preflight 63593c028e260b1409e945fa

[CL 22779059 by Vincent Gauthier in ue5-main branch]
2022-10-26 10:17:43 -04:00
Zak Middleton
a68f85d9d2 #ue5 - Truncation/conversion fixes for ProjectLauncher, MediaAssets, ProjectTargetPlatformEditor, and associated UI code.
#jira UE-160837
#rb Dave.Jones2, Andrew.Davidson
#preflight 63518de9f92c325024c03814

[CL 22693245 by Zak Middleton in ue5-main branch]
2022-10-21 12:58:17 -04:00
bryan sefcik
483f93dc1a Fixed misc include paths
#jira
#preflight 634f491669246074dbb2719d

[CL 22633214 by bryan sefcik in ue5-main branch]
2022-10-19 14:38:31 -04:00
David Harvey
c0f3c62c52 Adding a cvar to adjust the software cursor's scale.
- Can be used with 4k device profiles to make the cursor more visible.
 - Requires a cursor widget that is scale-aware.
 - ```Slate.SoftwareCursorScale```

#rb Darren.Cheng
#jira none
#preflight 634d116b820aa0c193cacd6a

[CL 22558256 by David Harvey in ue5-main branch]
2022-10-17 04:31:09 -04:00
daren cheng
b626e47f26 Fix list representation in widget library & widget library jittering.
#jira UE-166379 UE-166326
#rb aditya.ravichandran Patrick.Boutot
#preflight 634468f21d5e6dbf75a57606
#lockdown jeanmichel.dignard

[CL 22513071 by daren cheng in ue5-main branch]
2022-10-13 17:43:24 -04:00
yohann dossantos
0452c13dc7 Reverting a change where a method that was renamed for clarity, but that changes the public API.
#jira UE-166781
#preflight 6345cb02b757820b7a8f3aa4
#rb vincent.gauthier
#lockdown jeanmichel.dignard

[CL 22478777 by yohann dossantos in ue5-main branch]
2022-10-12 10:52:33 -04:00
Jared Therriault
ad2c55c8a4 Slate:
-Expose text highlighting in SHyperlink

#rb Jason.Walter

#jira UE-164702

#preflight https://horde.devtools.epicgames.com/job/6345aec5fa31324bb1f6cd3e

[CL 22468006 by Jared Therriault in ue5-main branch]
2022-10-11 19:05:49 -04:00
guillaume guay
001cb521fb Fixed cached string value of the SpinBox not getting reconsidered when localized options (like Fractional Digits) are changed.
#rb patrick.boutot

[CL 22458981 by guillaume guay in ue5-main branch]
2022-10-11 11:44:09 -04:00
ben hoffman
b770e92daf Fix for using the incorrect slate user when synthesizing the mouse cursor
#jira UE-161913
#preflight skip
#rb david.harvey
#rnx

[CL 22450144 by ben hoffman in ue5-main branch]
2022-10-11 00:32:46 -04:00
benjamin rouveyrol
8ec33f2227 Update HDR display info when display changed
Only handling the display change event is not enough though: the DXGI factory might not be contain up-to-date display information in case it's not current anymore. In that case, we need to rely on a newly created factory, used exclusively to retrieve the display info

#rb mihnea.balta
#jira UE-161418
#preflight 633f1a2b62762f4a1b604f62

[CL 22425912 by benjamin rouveyrol in ue5-main branch]
2022-10-10 03:22:42 -04:00
marshall beachy
717fb26a59 Added support to replace rich text block decorators at runtime
[REVIEW] [at]nick.darnell

[CL 22412632 by marshall beachy in ue5-main branch]
2022-10-07 19:41:16 -04:00