-
Notifications
You must be signed in to change notification settings - Fork 2
Add a few examples #13
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
base: main
Are you sure you want to change the base?
Conversation
resolved issue #8
- phoebus does not support <style>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds example files and makes improvements to widget styling and rule functionality. The changes include adding several new example directories with complete working examples, refactoring method names for consistency, and enhancing widget styling capabilities.
- Adds comprehensive examples for styling, dynamic logic with scripts/rules, and simple widget usage
- Refactors
add_extra_pvtoadd_pvandset_basic_styletoset_stylefor better naming consistency - Enhances styling support for TextEntry and ActionButton widgets with Classic/Native style options
Reviewed Changes
Copilot reviewed 21 out of 28 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| opigen/widgets.py | Refactors styling methods and enhances TextEntry widget with ActionWidget inheritance |
| opigen/rules.py | Renames method and improves documentation with better parameter naming |
| opigen/renderers/phoebus/rules.py | Fixes XML node assignment bug |
| opigen/renderers/init.py | Adds safety check for auto_resize functionality |
| opigen/config/font.def | Updates Title font from Liberation Serif to Liberation Sans |
| opigen/config/attr.toml | Adds line_color attribute support |
| opigen/init.py | Adds exception handling for color imports |
| examples/* | Adds multiple example directories with complete working demonstrations |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <[email protected]>
This is an ongoing work, more examples to be added...