stride3d / stride3d/stride

Allow "Uniform grid" properties to be reset to base value in UI editor

Open
#1,619 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-UI enhancement
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

Is your feature request related to a problem? Please describe.
When using UI libraries in different pages, I am unable to reset "uniform grid" values to base value like all other attributes. This causes the elements from mentioned libraries to end up all over the place in different pages and the only way to get them in the right place is to modify every UI page manually, which is very tedious when said element is used in many pages.

Describe the solution you'd like
Allow the uniform grid values to be reset to the base value like all other attributes.

Describe alternatives you've considered
An alternative could be to add an option to "re-add" or refresh the library element. This is possible to do by deleting and manually adding the element, but with more detailed UI this becomes way too slow.

Additional context
Example of the problem:
I can reset the Width property of an element (by right clicking on it):

image

But I can't reset the uniform.grid.column property because it's greyed out:

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named in the issue. Start by locating the UI editor code that handles property reset actions and the uniform grid properties, then verify that a uniform grid value can be reset to its library base value without re-adding the element.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.