Impact: High
Frequency: Constantly
Reproduction Steps:
- Insert a UIGridStyleLayout
- Use Instance.new to create a new UIGridStyleLayout
- Compare LayoutOrder default property
Expected Behavior:
LayoutOrder default SortOrder value should be consistent when Instantiating and Inserting
Actual Behavior:
Instantiated UIGridStyleLayout default value is SortOrder.Name:
Inserted UIGridStyleLayout default value is SortOrder.LayoutOrder:
2 Likes
I’m pretty sure this is intentional to preserve instantiating behavior and keep older games acting normally, while still giving developers better default values when they insert new ones. It’s present in a lot of different classes, especially older ones.
Frame:
pay attention to Size and BackgroundColor3
Part:
instantiated part is taller with studs
3 Likes
Thanks for your report! As @ChipioIndustries points out, this is intended behavior.
3 Likes
If that is the case then there should be documentation on this.
I’ll make a Documentation request.
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.