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

Work2 #283

Merged
merged 17 commits into from
Feb 14, 2022
Merged

Work2 #283

merged 17 commits into from
Feb 14, 2022

Conversation

dhardy
Copy link
Collaborator

@dhardy dhardy commented Feb 14, 2022

Improve margins:

  • separate horiz/vert margins for text
  • ensure EditBox has interior margins
  • menu entries use interior margins, not exterior
  • add PopupFrame to fix positioning of pop-up menus
  • tweak menu graphics

Add FrameStyle enum to reduce the size of the themed size/draw API. Motivation is mixed:

  • SizeMgr, SizeHandle, DrawMgr, DrawHandle, layout::Layout all get simpler APIs
  • This could be useful for code-share in theme implementations, but current implementations are too dissimilar to benefit much
  • This approach means that adding new feature variants to the theme API has low cost

Do not use CursorIcon::Grabbing in a non-scrollable scroll-region (e.g. in the Gallery when scrollbars are not visible).

@dhardy dhardy merged commit a81610c into master Feb 14, 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