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

Layout modifiers #10

Merged
merged 9 commits into from
Jun 3, 2024
Merged

Layout modifiers #10

merged 9 commits into from
Jun 3, 2024

Conversation

0ffz
Copy link
Member

@0ffz 0ffz commented Jun 3, 2024

  • Add better support for modifiers that alter element position and constraints
  • New modifiers: padding, offset
  • Lots of bugfixes to handle modifiers more consistent with Jetpack Compose
  • Add Paginated component to help with common Minecraft UIs.

0ffz and others added 9 commits June 2, 2024 20:20
…ctively

feat: Add layout modifiers that can alter placement and measurement
feat: Add padding modifier
feat: Add offset modifier
…ence over right behaviour)

fix: First size always wins
fix: Make padding behaviour consistent with Jetpack Compose's
fix: Accidental double then() on some extensions calling other extensions
refactor: modifyLayoutConstraints runs after inner constraints have been calculated and element measure
refactor: Cleanup Paginated component to space things automatically
…iers

# Conflicts:
#	guiy-example/src/main/kotlin/com/mineinabyss/guiy/example/gui/PaginatedMenu.kt
#	src/main/kotlin/com/mineinabyss/guiy/components/lists/Paginated.kt
@0ffz 0ffz merged commit 4fc09f1 into master Jun 3, 2024
1 check passed
@0ffz 0ffz deleted the layout-modifiers branch June 3, 2024 19:23
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.

2 participants