Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

[[ Bug 20857 ]] Fix widget property ordering in inspector#1905

Merged
livecodepanos merged 3 commits intodevelopfrom
bugfix-20857
Mar 5, 2018
Merged

[[ Bug 20857 ]] Fix widget property ordering in inspector#1905
livecodepanos merged 3 commits intodevelopfrom
bugfix-20857

Conversation

@livecodeali
Copy link
Copy Markdown
Member

Iterate over the widget's properties giving them all an order
reflecting their position in the manifest. Additionally, don't
iterate through all property names when merging in IDE property
info.

Iterate over the widget's properties giving them all an order
reflecting their position in the manifest. Additionally, don't
iterate through all property names when merging in IDE property
info.
@livecodeali livecodeali added the bug label Feb 1, 2018
@livecodeali livecodeali added this to the 9.0.0-rc-1 milestone Feb 1, 2018
# there was no property node in the XML
union tPropertyDataA[tProperty] with tDataA[tProperty]

# Now take any default roperty info that was not specified
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

roperty


# Now take any default roperty info that was not specified
# in the manifest
union tPropertyDataA[tProperty] with tIDEPropInfoA
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No - these are ones for which metadata exists but no property declaration - i.e. overrides. However, we can be a bit more efficient by skipping the ones already processed

@montegoulding
Copy link
Copy Markdown
Contributor

@livecode-vulcan review ok f818100

@livecode-vulcan
Copy link
Copy Markdown

💙 review by @montegoulding ok f818100

@livecodepanos livecodepanos merged commit 6b98e43 into develop Mar 5, 2018
@livecodeali livecodeali deleted the bugfix-20857 branch March 20, 2018 11:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants