stride3d / stride

Stride (formerly Xenko), a free and open-source cross-platform C# game engine.
https://stride3d.net
MIT License
6.65k stars 957 forks source link

feat: Allow Reset Grid Properties for Layout in UI Editor (#1619) #2400

Open dloe opened 4 months ago

dloe commented 4 months ago

PR Details

Allowing UI grid properties to be reset to base value in UI editor. 'Reset to base value' button by right clicking on properties doesn't allow to be reset.

Related Issue

Issue: https://github.com/stride3d/stride/issues/1619

Types of changes

Just a note: May need a recommendation on where the custom delegate function goes, for now I kept them in UIAssetNodeUpdater file, it may need to be moved elsewhere. I can remove those TODO comments as needed. Thank you!

Checklist

Eideren commented 3 months ago

Thanks a bunch for the PR, this one doesn't look as straightforward so I'll pass it to @Kryptos-FR, hopefully he has time to get back to us

Kryptos-FR commented 3 months ago

I'll look into it.

dloe commented 2 months ago

Feedback should be implemented, thanks for reviewing it!