Vertical Align



  • I'm looking for a property to work with textBox() to align the text to the vertical center. What I'm imagining is something like this:

    textBox(
        'DrawBot is great',
        (
            width()*0.2,
            height()*0.2,
            width()*0.6,
            height()*0.6
        ),
        align = 'center',
        verticalAlign = 'center'
    )
    

    This way you can come up with a random playing with that verticalAlign or something like that 😊


Log in to reply