Conversation
alice-i-cecile
left a comment
There was a problem hiding this comment.
I prefer this naming. I think this is much clearer: it's more adjective-y, rather than being a distinct noun.
|
From my perspective this should still be a "driving concept" with a noun. |
|
But if we commit to this just being "text layout configuration" from a user perspective, this rename is fine |
|
Right now the requires are
What if we rearrange like this
It feels quite wrong to me to make a |
|
Hmm that would have conceptual / ergonomic implications when trying to use the "TextBlock" concept (in your proposal commands.spawn((Node, ComputedTextBlock, TextLayout::new_with_justify(JustifyText::Center))Vs commands.spawn((Node, TextBlock::new_with_justify(JustifyText::Center))That being said, with the current impl this standalone usage is not currently possible, and I'm not really sure we even need it. In the short term I'm cool with TextLayout, provided it is used "just" for config. I agree that the introduction of a "non layout" concept does muddle things when that new concept isn't currently actually used anywhere outside of layout. If we later decide that TextBlock is a useful user facing concept, we can re-open the discussion. |
Objective
Solution
TextBlocktoTextLayout.