这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@nicoburns
Copy link
Collaborator

Objective

It is useful for users of Taffy to be able to determine the sizes the computed margin for each node. This is especially the case when auto margins are specified and margin cannot easily be determined just from the styles.

Context

Padding and border are already output in the Layout.

@nicoburns nicoburns added enhancement New feature or request breaking-change A change that breaks our public interface labels Jul 7, 2024
@nicoburns nicoburns added this to the 0.6 milestone Jul 7, 2024
@nicoburns nicoburns force-pushed the output-computed-margin branch from 1629bce to 80d8a4e Compare July 7, 2024 09:42
@nicoburns nicoburns changed the title Output computed margins in Layout Output computed margins in Layout Jul 7, 2024
@nicoburns nicoburns merged commit 41fe221 into DioxusLabs:main Jul 7, 2024
@nicoburns nicoburns deleted the output-computed-margin branch July 7, 2024 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change A change that breaks our public interface enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant