s

    Slackbot

    2 years ago
    This message was deleted.
    Siyamed

    Siyamed

    2 years ago
    can you elaborate on changing the line height of the rest of the text?
    visual transformation initially was to change the text, i didnt think of it for changing the visuals
    Yashovardhan

    Yashovardhan

    2 years ago
    So I'm basically applying 2 styles. 1 is for the first line (just till the first \n) which increases the font size and the line height. The other is for the rest of the text just increasing the line height slightly
    Siyamed

    Siyamed

    2 years ago
    oh I see. (I just saw tht TransformedText accepts AnnotatedString)
    can you please create a ticket about this?
    Yashovardhan

    Yashovardhan

    2 years ago
    Sure thing
    Also would appreciate some documentation on this (if there isn't any already). Im having a hard time understanding how to use offset maps with transformed text
    Filed a bug at https://issuetracker.google.com/167352823 with more details
    I am really sorry, this was a mistake on my end. I had set the line heights too small (really stupid mistake). This is working fine now. You can even close the issue. Again, really sorry for this
    Siyamed

    Siyamed

    2 years ago
    👍 happy that it works