Skip to content

Conversation

codecat
Copy link

@codecat codecat commented Sep 13, 2025

This adds:

  • lay_set_paddings
  • lay_set_paddings_ltrb
  • lay_get_paddings
  • lay_get_paddings_ltrb

This acts as the opposite of margin.

Allows us to avoid creating a secondary container item with a margin to achieve the same thing and do it all in 1 item.

This mirrors my C# implementation here: codecat/Nimble.Layout#1

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