Я настраиваю приложение чата, и пузырь чата не должен превышать определенную ширину (примерно 80% экрана).
Я читал из другого поста, все они упоминали, чтобы обернуть Label с помощью Layout, он работает очаровательно в Android, но не в iOS.
...
<ScrollView row="1" background="#fafafa" ref='scrollView'>
<FlexboxLayout flexDirection="column" justifyContent="flex-end">
<GridLayout v-for="chat in processedChats" :key="chat.timestamp" rows='*' backgroundColor="#fafafa" >
<FlexboxLayout row='0' v-if="chat.speaker == me" flexDirection="row" justifyContent="flex-end">
<Label :text="chat.content" :textWrap="true" padding="10" margin="5 5 5 10" fontSize="16" background="#222222" color="#ffffff" borderRadius="15" />
<Label text="" width="40%" />
</FlexboxLayout>
<FlexboxLayout row='0' v-else flexDirection="row" justifyContent="flex-start">
<Label :text="chat.content" :textWrap="true" padding="10" margin="5 5 5 10" fontSize="16" background="#f1f0f0" color="#484848" borderRadius="15" />
<Label text="" width="40%" />
</FlexboxLayout>
</GridLayout>
</FlexboxLayout>
</ScrollView>
...
Вот странный результат компоновки.