Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix logic of default orientation of PropertyGrid elements. #637

Merged
merged 2 commits into from
Dec 18, 2023

Conversation

ViliusBa
Copy link
Contributor

@ViliusBa ViliusBa commented Dec 18, 2023

Changes

There was an issue with orientation of PropertyGrid items being set incorrectly when it is first shown. (See issue)
This was fixed by not waiting for a component to be updated to find out what is the correct orientation for the item and instead, determine the correct orientation in the constructor.

Testing

Added a test case to ensure that when orientation is undefined - appropriate one is assigned.

@ViliusBa ViliusBa requested review from a team as code owners December 18, 2023 11:03
@ViliusBa ViliusBa changed the title Property grid/fix default orientation Fix logic of default orientation of PropertyGrid elements. Dec 18, 2023
@GerardasB GerardasB added the patch Changes in this PR requires a patch release label Dec 18, 2023
@grigasp grigasp merged commit fc5b6af into master Dec 18, 2023
17 checks passed
@grigasp grigasp deleted the property-grid/fix-default-orientation branch December 18, 2023 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Changes in this PR requires a patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Property widget: Wrong property list layout after selecting element from list
4 participants