Issue with Text field styling

I am using the Text field to give instructions to the user, however how it is showing on the page is looking not as expected.
my code:

piles.text1 = vkt.Text("""
    The pile layout table can either be filled in manually or from an excel file.
    Piles can be entered using RD coordinates, or x/y coordinates.
    - For RD coordinates:
        Set the reference toggle as false and fill in the pile layout table with RD x and RD y coordinates.
    - For x/y coordinates:
        Set the Reference toggle to True, and provide an RD reference point and angle (to rotate the pile layout) to place piles on a map. 
        To just view the pile layout, a reference point is not required
    """)

Is there currently a bug with Text styling?

1 Like

Hi,
The text must have absolutely no indents, so be shifted all the way to the left.

If like me that brings issues with collapsing code sections for readability purposes, you can:

  1. define my_text = """some text""" in a separate script
  2. import it
  3. call it with txt = vkt.Text(my_text) in your parametrization class

Bests,
Remi

1 Like