dimsuz
01/16/2022, 5:51 PMColumn
Row { Text(); Text() }
Row { Text(); Text() }
can I somehow make it so that it renders like this:
text1: hello
text2longer: world
especially if Row
is some component defined in the different file.
I tried to read about alignment lines, but can't see how they could help achieve this here.Francesc
01/16/2022, 6:32 PMFrancesc
01/16/2022, 6:36 PMFrancesc
01/16/2022, 6:37 PMFrancesc
01/16/2022, 6:38 PMdimsuz
01/16/2022, 7:43 PMColumn {
CustomRow()
CustomRow()
}
is better for organization than this
MyLayout {
Text()
Text()
Text()
Text()
}
Francesc
01/16/2022, 7:53 PMColton Idle
01/16/2022, 11:31 PMdimsuz
01/17/2022, 1:10 AMtext1: |hello |
text2longer: |world |
and also it might cut off text2longer
if container is not wide enoughdimsuz
01/17/2022, 1:18 AMFrancesc
01/17/2022, 2:03 AMFrancesc
01/17/2022, 2:04 AMFrancesc
01/17/2022, 2:05 AMColton Idle
01/17/2022, 4:49 AMfill
. Does that change anything?