Tree control: is it possible to left justify column titles?

BarugonBarugon Posts: 9Member
in GUI

Having the column title text centered just doesn't look right. Any help with this would be much appreciated.

Comments

  • TwistedTwiglegTwistedTwigleg Posts: 2,635Admin

    The TreeItem control, which is used to populate the tree, has a function called set_text_align, that I think does what you are looking for.

  • BarugonBarugon Posts: 9Member

    @TwistedTwigleg said:
    The TreeItem control, which is used to populate the tree, has a function called set_text_align, that I think does what you are looking for.

    That will align the text in for tree item but not for a column header.

  • TwistedTwiglegTwistedTwigleg Posts: 2,635Admin

    Ah, my bad. I looked through the documentation, and I didn't see anything that hints that it can set the text alignment of the column header, but I only took a quick look. I'll take a more thorough look later and see if I can spot anything.

  • BarugonBarugon Posts: 9Member

    I suspect that it's just not possible. Maybe I'll file a feature request but there's over 5000 open issues in the queue. :'(

  • MegalomaniakMegalomaniak Posts: 2,618Admin
    edited May 30

    Feature proposals should go to another repository:
    https://github.com/godotengine/godot-proposals/issues/new/choose

    Make sure to fill out the template properly or it will just get closed.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file