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

Move element editor layouts to Glade #277

Merged
merged 39 commits into from Mar 20, 2020
Merged

Move element editor layouts to Glade #277

merged 39 commits into from Mar 20, 2020

Conversation

amolenaar
Copy link
Member

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Documentation content changes

What is the current behavior?

All GTK+ layout is hard-coded in Python.

What is the new behavior?

Layouts are loaded from Gtk.Builder (Glade) files.

This has the advantage that it's easier to visibly change the layout of a component. This will lead to less code, and can result in a more snappy UI.

Does this PR introduce a breaking change?

  • Yes
  • No

@amolenaar amolenaar added this to the 1.3 milestone Mar 17, 2020
@amolenaar amolenaar changed the title WIP: Move element editor layouts to Glade Move element editor layouts to Glade Mar 19, 2020
@amolenaar
Copy link
Member Author

@danyeaw I think the element editor looks better now. Also, some small issues I ran into have been fixed.

@danyeaw danyeaw merged commit ff0da72 into master Mar 20, 2020
@danyeaw danyeaw added the chore Maintenance related PR label Mar 20, 2020
@danyeaw danyeaw deleted the ui-with-glade branch March 20, 2020 01:37
@danyeaw
Copy link
Member

danyeaw commented Mar 20, 2020

@amolenaar very cool, I think this helps separate the GUI from the other code and logic 👍

@danyeaw danyeaw modified the milestones: 1.3, 2.0 Jul 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Maintenance related PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants