forked from linebender/druid
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update druid #3
Merged
Merged
Update druid #3
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Add missing derived lens documentation * Update CHANGELOG.md * Update link references in CHANGELOG.md * Update derived lens documentation Co-authored-by: Manmeet Maan <[email protected]> * Improve code readability Co-authored-by: Joshua Wade <[email protected]> Co-authored-by: Manmeet Maan <[email protected]>
* Clip texbox cursor to bounds Partial fix for #1709 * Fix docs for TextBox::text_mut * Don't use padding when textbox scrolls * Fix docs for TextBox::text_mut (for real this time)
This prevents the window manager from managing tooltip-like subwindows.
* implemented DisabledIf * reformat * updated CHANGELOG.md * fix issue * updated example Signed-off-by: xarvic <[email protected]> * added License, updated documentation Signed-off-by: xarvic <[email protected]> * reformat Signed-off-by: xarvic <[email protected]> * reformat Signed-off-by: xarvic <[email protected]> * Apply suggestions from code review Co-authored-by: xarvic <[email protected]> Co-authored-by: Colin Rofls <[email protected]>
* Implement Lens directly on a pair * Implement Lens for tuples of length 3 to 7 * Update Changelog
Also for content insets.
* Remove some horizontal/vertical code duplication in ScrollComponent * Handle scroll bar edge cases better - Don't draw out-of-bounds when the widget is smaller than theme::SCROLLBAR_MIN_SIZE - Don't draw the scroll bar if the widget is smaller than the padding Fixes #1709. * Don't pad scrollbar for other bar if it is disabled * Disable the scroll bar when disabling scrolling in Scroll This allows TextBox (and other widgets which disable scrolling dynamically) to use the reduced padding from 217fabf. * Fix scrollbar length being shortened slightly * Add tests for ScrollComponent * Fix clippy::float_cmp errors * Update changelog for #1715 * Update CHANGELOG.md
* changed propagate_to_hidden: Lifecycle::BuildFocusChain is not send to hidden widgets anymore. Signed-off-by: xarvic <[email protected]> * test if the focused widget is still a functional member of the tree Signed-off-by: xarvic <[email protected]> * fix clippy warnings Signed-off-by: xarvic <[email protected]> * update CHANGELOG.md Signed-off-by: xarvic <[email protected]> * Apply suggestions from code review Co-authored-by: Colin Rofls <[email protected]> Co-authored-by: xarvic <[email protected]> Co-authored-by: Colin Rofls <[email protected]>
This commit updates the druid version needed for the example to work, and rewrites a paragraph that was based on old code.
Book: Fix the intro tutorial
Ensure the cursor state of the `split` widget is locked when the split bar is active, to avoid flickering when the mouse moves faster than the widget can re-layout. Bug: #1725
Fix panic with Tabs Widget
* Fix link in documentation of widget::Image struct ImageBuf now lives in piet not in druid-shell * Let rustdoc resolve links * Add link to PR
Provide access to lens in LensWrap
Implement content_insets for GTK.
Implement Data for chrono types
Test out Swatinem's cache.
Implement `WindowLevel::Tooltip` on Windows platform. Before change: - Tooltip window appear in taskbar - Window has strange min-size (probably due to OS min constraints) - Window steals focus from main app window After change: - Tooltip window doesn't appear in taskbar - Window fits any size (tested with nursery's `tooltip.rs`) - Window doesn't steal focus from main app window
X11 back-end now supports scaling.
* link the widget_nursery from the README Signed-off-by: xarvic <[email protected]> * updated CHANGELOG.md Signed-off-by: xarvic <[email protected]> Co-authored-by: xarvic <[email protected]> Co-authored-by: Colin Rofls <[email protected]>
* druid-shell: Added Delete key handling * Updated CHANGELOG.md Co-authored-by: Joshua Wade <[email protected]>
* - added LifeCycle::DisabledChanged and InternalLifeCycle::RouteDisabledChanged - implemented the disabled state in WidgetPod - changed call to focus_change from event to post event processing - implemented disabled handling in window.rs and core.rs * created tests for disable * fixed tests * fixed tests * updated core.rs and event.rs * fixed focus-chain bug: - the focus chain was cleared, if the widget was disabled * fix disabled update * update tests * fixed code (all tests succeed) * refactored core.rs and tests/mod.rs * updated tests * fixed focus-chain bug * make clippy happy (i hope) * make clippy happy #2 * Apply suggestions from code review Update Documentation Co-authored-by: Colin Rofls <[email protected]> * Update druid/src/contexts.rs Update documentation Co-authored-by: Colin Rofls <[email protected]> * refactor DisabledChanged * refactor DisabledChanged * fixed error, revered change of focus_chain * refactored tests * reordered lifecycle events * reverted changes to the focus_chain * implemented new focus-chain using LifeCycle::BuildFocusChain * update tests * fixed problems * updated texts * clippy fix * fixed documentation * Update druid/src/event.rs Co-authored-by: Colin Rofls <[email protected]> * fixed documentation * made logic simpler * refactored post_event_processing * updated CHANGELOG.md * fixed docs * make clippy happy * implemented DisabledIf * reformat * updated CHANGELOG.md * fix issue * updated example Signed-off-by: xarvic <[email protected]> * added License, updated documentation Signed-off-by: xarvic <[email protected]> * reformat Signed-off-by: xarvic <[email protected]> * reformat Signed-off-by: xarvic <[email protected]> * implement disabled state for button Signed-off-by: xarvic <[email protected]> * updated visuals of controls when disabled Signed-off-by: xarvic <[email protected]> * reformat Signed-off-by: xarvic <[email protected]> * run clippy Signed-off-by: xarvic <[email protected]> * run cargo fmt Signed-off-by: xarvic <[email protected]> * Update CHANGELOG.md * implemented disabled-text-color Signed-off-by: xarvic <[email protected]> * changed background Signed-off-by: xarvic <[email protected]> * reformat Signed-off-by: xarvic <[email protected]> * Changed label. Signed-off-by: xarvic <[email protected]> * added deprecation note Signed-off-by: xarvic <[email protected]> Co-authored-by: xarvic <[email protected]> Co-authored-by: Colin Rofls <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.