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

SizeMgr::text_rules, line_height, handle_len; AdaptWidget::with_min_size_px/_em #338

Merged
merged 21 commits into from
Jul 23, 2022

Conversation

dhardy
Copy link
Collaborator

@dhardy dhardy commented Jul 22, 2022

  • Add Coord/Size/Offset::clamp
  • Add SizeMgr::handle_len (for scroll bars and slider)
  • Reserve: allow parametrization via nameable trait impl
  • Add AdaptWidget::with_min_size_px, .._em methods
  • Re-add SizeMgr::line_height
  • Revise SizeMgr::text_bound: rename to text_rules, less affected by text class
  • Implicit text labels in layout: disable wrapping. (Use explicit Label::new("...") to enable wrapping.)
  • Accelerator keys: on key conflict, first binding takes priority.
  • Several little fixes.

@dhardy dhardy changed the title Work2 SizeMgr::text_rules, line_height, handle_len; AdaptWidget::with_min_size_px/_em Jul 23, 2022
@dhardy dhardy merged commit 6731f4d into master Jul 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant