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

Clean up property pages #3144

Merged
merged 5 commits into from
Feb 26, 2024
Merged

Clean up property pages #3144

merged 5 commits into from
Feb 26, 2024

Conversation

amolenaar
Copy link
Member

@amolenaar amolenaar commented Feb 25, 2024

PR Type

What kind of change does this PR introduce?

  • Bug fix
  • Feature
  • Chore (refactoring, formatting, local variables, other cleanup)
  • Documentation content changes

What is the current behavior?

Property editors are often (but not always) encapsulated in a GtkExpander. There's little need for that, since the number of editors is not that long.

Issue Number: N/A

What is the new behavior?

Simplify property editors.

  • Info/help boxes are now placed on a more logical place.
  • Expanders have been removed.
  • Show Xxx switches are placed after data entry.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

This will make it easier to split model and view based properties in the future. In the end we want to be able to use the property editor for elements selected in the Model Browser.

image

This will make it easier to split model and view based properties in the
future.
@amolenaar amolenaar marked this pull request as draft February 25, 2024 15:20
@github-actions github-actions bot added the python Pull requests that update Python code label Feb 25, 2024
@amolenaar amolenaar marked this pull request as ready for review February 25, 2024 17:51
@danyeaw danyeaw added feature A new feature and removed python Pull requests that update Python code labels Feb 26, 2024
Copy link
Member

@danyeaw danyeaw left a comment

Choose a reason for hiding this comment

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

Hi @amolenaar, this is a really nice simplification - this gives the Property Pages a much cleaner look!

@danyeaw danyeaw merged commit d3ecd5f into main Feb 26, 2024
6 checks passed
@danyeaw danyeaw deleted the no-expander branch February 26, 2024 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants