Commit Graph

835 Commits

Author SHA1 Message Date
sebastian nordgren
a5aa9eaf47 Inner categories (produced by eg. instanced UObjects) now correctly indent.
Moved SDetailRowIndent and SConstrainedBox to their own files. Created SDetailExpanderArrow widget so that it can be reused in categories and groups.

#b lauren.barnes

[CL 14827369 by sebastian nordgren in ue5-main branch]
2020-12-01 07:52:47 -04:00
sebastian nordgren
d059267a10 Details name area textbox changed to be an SInlineEditableTextBlock.
Renaming cleaned up to avoid duplicating code in the single and multiple selection cases.

#jira UETOOL-2697
#rb lauren.barnes

[CL 14827365 by sebastian nordgren in ue5-main branch]
2020-12-01 07:51:06 -04:00
Marc Audy
a7f9391231 Merge UE5/Release-Engine-Staging @ 14811410 to UE5/Main
This represents UE4/Main @ 14768117

For ReleaseObjectVersion.h
#lockdown Marcus.Wassmer

[CL 14811440 by Marc Audy in ue5-main branch]
2020-11-24 18:42:39 -04:00
sebastian nordgren
125fb573d2 Fixed EditCondition showing up for every row in the property matrix, and crashing the editor if unchecked.
#rb lauren.barnes

[CL 14809458 by sebastian nordgren in ue5-main branch]
2020-11-24 09:41:05 -04:00
sebastian nordgren
971b77c41c Detail categories no longer clip long names halfway if there isn't a custom widget to display in the category header.
#rb lauren.barnes
#jira UE-102528

[CL 14809457 by sebastian nordgren in ue5-main branch]
2020-11-24 09:40:32 -04:00
Jason Stasik
d3c273c5f4 Cache modified objects in FPropertyNode::NotifyPostChange
#jira UE-101521
#review-14783373 @sebastian.nordgren
#rb sebastian.nordgren

[CL 14800876 by Jason Stasik in ue5-main branch]
2020-11-20 17:35:22 -04:00
moppius
90a6d6788c Strip trailing spaces from Name property values.
Based on PR #7522 (Contributed by moppius)

#rb jamie.dale

[CL 14786341 by moppius in ue5-main branch]
2020-11-19 09:40:38 -04:00
sebastian nordgren
33c1fb0394 Details view array drag highlighting fixed.
Details view background color and drop shadow changed to be lighter.

[CL 14776301 by sebastian nordgren in ue5-main branch]
2020-11-18 11:20:39 -04:00
Matt Kuhlenschmidt
cd51bbaa63 Rework per-platform properties to make better use of the space in the details panel. Now each override is a separate tree node and all overrides can be viewed by expanding the property row
[CL 14764265 by Matt Kuhlenschmidt in ue5-main branch]
2020-11-17 12:45:35 -04:00
Matt Kuhlenschmidt
ac765fd5d5 Fix not being able to double click on asset thumbnails to open their editor from the details panel
#jira UE-103161

[CL 14762885 by Matt Kuhlenschmidt in ue5-main branch]
2020-11-17 08:44:52 -04:00
Matt Kuhlenschmidt
d2368b5d98 Consolidating icons.
Moved property editing icons to the generic icon set.

[CL 14753068 by Matt Kuhlenschmidt in ue5-main branch]
2020-11-16 09:57:56 -04:00
sebastian nordgren
c678b96a4b FDetailsViewArgs 8 parameter defaulted constructor deprecated and all usages fixed.
#rb lauren.barnes

[CL 14750682 by sebastian nordgren in ue5-main branch]
2020-11-16 08:16:15 -04:00
sebastian nordgren
5b9cbbd43e Added a grid line below category headers in the details view.
#rb trivial

[CL 14733190 by sebastian nordgren in ue5-main branch]
2020-11-12 07:20:52 -04:00
Matt Kuhlenschmidt
bab3ac126b Asset property editor reskin
[CL 14712941 by Matt Kuhlenschmidt in ue5-main branch]
2020-11-10 17:10:43 -04:00
geoff evans
bde28af943 Redefine Content Browser's "RealTime Thumbnails" to be only the item the cursor is hovering over instead of every thumbnail in an SAssetView.
This change removes the use of boolean attribute AreRealTimeThumbnailsAllowed. This attribute is less than ideal, design-wise, since it uses the thumbnail pool to drive the behavior of the thumbnails. Instead we build in default hover behavior to the thumbnail slate widgets, and implement plumbing for custom pathways to enable/disable real time behavior per thumbnail.

-> Add default OnMouseEnter/OnMouseLeave events on SAssetThumbnail for default hover behavior (over the actual thumbnail image), which supports detail panel, customizations, and things like FoliageEditor and Niagara Stack Overview thumbnail strip.
-> Add thumbnail initialize pathway support for disabling default hover behavior for use cases where the logical asset is more than just the thumbnail image (border elements, text elements with the asset name, etc).
-> Add custom OnMouseEnter/OnMouseLeave handlers on SAssetTileItem, SAssetListItem to perform real time behavior on entire logical asset item in Content Browser and Asset Picker.

#rb francis.hurteau
#fyi matt.kuhlenschmidt
#jira UETOOL-2363

[CL 14673948 by geoff evans in ue5-main branch]
2020-11-05 21:41:33 -04:00
sebastian nordgren
f76859a538 Missed a file that was causing the wrong indent level colors to be used.
#rb trivial

[CL 14641654 by sebastian nordgren in ue5-main branch]
2020-11-03 10:22:27 -04:00
Matt Kuhlenschmidt
a4c31ea1b7 Miscellaneous details panel reskin
- Mobility and reset to default

[CL 14634544 by Matt Kuhlenschmidt in ue5-main branch]
2020-11-02 15:51:23 -04:00
sebastian nordgren
c04b39eb87 Fixed reset to default widgets not respecting custom IsEnabled attributes on custom widget rows.
#rb lauren.barnes

[CL 14597533 by sebastian nordgren in ue5-main branch]
2020-10-28 06:04:02 -04:00
sebastian nordgren
c23b537610 SDetailsIndent now uses OnPaint to render, which fixes layout-related flickering due to the indent level not being known at Construct() time.
Project Settings (and other MultipleTopLevelObject details views if any exist) no longer display an extra indent level for items.

#rb matt.kuhlenschmidt
#jira UE-101540

[CL 14587989 by sebastian nordgren in ue5-main branch]
2020-10-27 11:28:58 -04:00
Marc Audy
4c1bb11c29 Merge UE5/Release-Engine-Staging to UE5/Main @ 14548662
This represents UE4/Main @ 14525125 + cherrypicked fixes
#skipundocheck

[CL 14551026 by Marc Audy in ue5-main branch]
2020-10-22 19:19:16 -04:00
sebastian nordgren
10072e3088 Changed colours of nested array entries in the details view to be perceptually linear.
Minor tweaking of the expander arrow positioning, and moved the widget out of SDetailsIndent and into SDetailSingleItemRow.

[CL 14501162 by sebastian nordgren in ue5-main branch]
2020-10-15 10:02:12 -04:00
sebastian nordgren
3f02d62a91 Fixed subcategory headers not rendering with the correct background color.
Moved GetBackgroundColor from SDetailSingleItemRow_Helpers to PropertyEditorConstants.

Fixed bug with valid property handles not displaying a reset to default by default.

#jira UE-100798
#fyi matt.kuhlenschmidt

[CL 14478536 by sebastian nordgren in ue5-main branch]
2020-10-13 07:40:39 -04:00
sebastian nordgren
e9d2587de1 Details view now shades nested property rows based on their nesting level, and displays a drop shadow to indicate hierarchy.
#fyi matt.kuhlenschmidt

[CL 14478469 by sebastian nordgren in ue5-main branch]
2020-10-13 07:05:42 -04:00
sebastian nordgren
8be498928d Fixed bug causing categories that had been hidden by customizations to be visible.
I'd accidentally submitted some changes that enabled the favourites system prematurely, and apparently many rows were being counted as favorited despite not being so. This is a temporary fix that will go away when further editor config and favourites system work is done.

#fyi matt.kuhlenschmidt

[CL 14446233 by sebastian nordgren in ue5-main branch]
2020-10-08 11:24:09 -04:00
sebastian nordgren
2861da6a3a Reset to Default now always reserves the leftmost space in the right column of the details view.
#fyi matt.kuhlenschmidt

[CL 14446224 by sebastian nordgren in ue5-main branch]
2020-10-08 11:22:48 -04:00