Skip to content

How to use Block layout mode ? #578

Answered by nicoburns
camcd93 asked this question in Q&A
Discussion options

You must be logged in to vote

@camcd93 Block layout was only added in a more recent version of Taffy than the one you are using. And there hasn't been a stable crates.io release since then. If you want this kind of layout your options are:

  • Wait for the Taffy 0.4 release
  • Use Taffy's main branch
  • Use a Flexbox layout with flex_direction: FlexDirection::Column and justify_content: JustifyContent::Start set, which will give you a similar vertical layout.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@nicoburns
Comment options

Answer selected by camcd93
@camcd93
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants