Commit Graph

6 Commits

Author SHA1 Message Date
dave belanger
5bc620794b Make SCustomDialog buttons grid AutoWidth so the button text doesn't get clamped
#rb Jason.Stasik,Sebastian.Nordgren
#preflight skip

[CL 23088026 by dave belanger in ue5-main branch]
2022-11-10 17:02:11 -05:00
sebastian nordgren
2d132607b1 SCustomDialog no longer clips any button texts that are longer than the first button text.
This is because the dialog used SUniformGridPanel, which does sizing based on the first button, not the largest one. We now use SHorizontalBox with AutoWidth() instead.

Removed useless log entry.

[REVIEW] [at]dominik.peacock, [at]lauren.barnes
#rnx

[CL 22331033 by sebastian nordgren in ue5-main branch]
2022-10-04 11:06:26 -04:00
kiaran ritchie
80950800c0 Fix SCustomDialog to give room to buttons when content is narrow.
#rb sebastian.nordgren
#preflight https://horde.devtools.epicgames.com/job/62ccb5e46a67c3717a58adff
#JIRA https://jira.it.epicgames.com/browse/UE-146531

[CL 21057111 by kiaran ritchie in ue5-main branch]
2022-07-12 11:36:32 -04:00
Dominik Peacock
a78f17a3d6 Change SCustomDialog and SMessageDialog IconBrush() accepting Fname to Icon() accepting any slate brush
#jira none
#rb Sebastian.Nordgren
#rb JeanMichel.Dignard
#preflight 62bb37bbcd375aa7519824d4

[CL 20861736 by Dominik Peacock in ue5-main branch]
2022-06-28 13:42:30 -04:00
Dominik Peacock
f12510f6b4 Improve usability of SCustomDialog related widgets:
- Add config for HAlign and VAlign
- Specify auto focus behaviour for buttons
- Override SWindow::FArguments

#jira none
#rb Sebastian.Nordgren
#preflight 625e9bea804460ab0ffed98d

[CL 19827758 by Dominik Peacock in ue5-main branch]
2022-04-20 08:08:35 -04:00
Dominik Peacock
d017c2c53a Move SCustomDialog from UnrealEd to ToolWidgets
Unshelved from pending changelist '19221005':

#jira none
#rb Sebastian.Nordgren
#preflight 622105f6a00412627d0743ed

[CL 19311394 by Dominik Peacock in ue5-main branch]
2022-03-08 16:29:24 -05:00