Layout “inline” macro automatically converted to “block” type when exceed to become multiple line.
When the macro layout is set to inline, the expected output is inline with the other element in the paragraph which is correct.
However, when the long that end up expanded to multiple line. The macro behave like a block type which is not the expect “inline” behavior. This is a same macro except that I added more text to the string to show as example.
Expected behavior should be this.

Hey @PakWaiChoong,
I don’t think I’d agree that it should behave the way you expect it to.
<Text>Layout Example</Text>
<Inline>
<Lozenge>FIRST</Lozenge>
<Text>MIDDLE MIDDLE MIDDLE MIDDLE MIDDLE MIDDLE MIDDLE MIDDLEMIDDLE MIDDLE MIDDLE MIDDLE MIDDLE MIDDLE MIDDLE MIDDLE MIDDLEMIDDLE MIDDLE MIDDLE MIDDLE MIDDLE MIDDLE MIDDLE MIDDLE MIDDLE </Text>
<Lozenge>LAST</Lozenge>
</Inline>
results in
Which is what I had expected based on our docs.
I can see that something different is happening in your case, and i’m interested to understand why. Are you able to share the exact code you’re using here?
Cheers!
Mel