Commit Graph

2136 Commits

Author SHA1 Message Date
semion piskarev
c245cdc362 Slate: Fix toolbar overflow menu sometimes not having the correct type of entries.
#rb Sebastian.Nordgren
#jira UE-166064
#preflight 6377fdbc33774509008becd3

[CL 23222175 by semion piskarev in ue5-main branch]
2022-11-21 11:38:55 -05:00
Patrick Boutot
7ccbff75a4 UMG: Prevent the game widget to be painted/ticked when the BP is debugging. The SlateApplicatoin is enough to fix the jira but it can cause the same issue if the event was triggered by a mouse click instead of a tick. We need both until all events are registered. With GameLayerManager itself, it won't solve the jira in invalidation mode.
#jira UE-167057
#preflight 6373a930232e3d12cbbf668a

[CL 23153664 by Patrick Boutot in ue5-main branch]
2022-11-16 09:44:08 -05:00
henrik karlsson
5b96352978 Fixes for c++ headerunits/modules.
* Adding forward declarations
* Adding "inline" in front of const/constexpr variables in headers
* Adding includes
* A few moves of ctor/dtor to cpp file

#preflight 6372b3ac0c74adb48b49f313
#rb none

[CL 23130896 by henrik karlsson in ue5-main branch]
2022-11-14 19:59:41 -05:00
joe pribele
1d8537f20b changed PRAGMA_DISABLE_OPTIMIZATION to UE_DISABLE_OPTIMIZATION_SHIP
#preflight 6372ba60ee4d25f90ae3d207

[CL 23128414 by joe pribele in ue5-main branch]
2022-11-14 17:31:05 -05:00
nick darnell
a2c124d940 UMG - You can now style the scrollbar for the comboboxes.
UMG - Adding a DefaultStyleCache class to centralize the places we're storing static copies of the default styles.  If we need to late initialize them, we may as well do it all in one place and avoid the duplicants.

[CL 23128126 by nick darnell in ue5-main branch]
2022-11-14 17:22:51 -05:00
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