Skip to content

childrenOnChain Problem #470

Open
Open
@Byteschmiede

Description

@Byteschmiede

Hey!

I'm playing around with layout.childrenOnChain and have question how to accomplish following task:

There is a curved path id like to use to position my text on it. Just like childrenOnChain.
The only problem is, that this method is built for text who covers the whole chain.

Example:

Text: Foobaafooba
Text on Path: F_o_o_b_a_a_f_o_o_b_a

Text: Foo
Text on Path: F___________o__________o

But I want to center on the path like:

Text on Path: Foo

here are Screenshots from the playground

Bildschirmfoto 2020-08-05 um 13 02 44

I hack fix it with pre- and post characters with spaces:
But that's too hacky for my choice

Bildschirmfoto 2020-08-05 um 13 03 21

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions