How to change color of ports

FlowCanvas Forums Support How to change color of ports

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3149
    spayke
    Participant

    Hi Gavalakis,

    Question:  1) how to change color of port types(“screen 1” Vector3, Int, float etc.) and 2) red color of missing variable(“screen 2” i changed vars tag to green color, but now missing red is looks bad, i want to make red darker), 3) also how to change flow lines color(“screen 4”)
    where i can change them?(maybe can correct hex color in code somewhere)

    Note: It’s much easier to read when Loops, Switchers, Functions, Vars is separated by colors (“screen 3”), at least for me. Maybe in future will be possible to change colors of node types in settings, that would’ve been cool i think

    Attachments:
    You must be logged in to view attached files.
    #3154
    nikitalino
    Participant

    icons in assets/ you can change them in photoshop/ full path above them

    Attachments:
    You must be logged in to view attached files.
    #3156
    spayke
    Participant

    Why, thank you!

    Now i need to know: 1) how to change color of text of ports as well(“screen attached”)  2) Red color of missing variable(“screen 2”) and 3) how to change flow lines color(“screen 4”)

    Attachments:
    You must be logged in to view attached files.
    #3158
    Gavalakis
    Keymaster

    Hey,

    At least right now, there is not a central place where all colors for all things are set, thus to change colors for various things you will need to change the source code (not recommended :). In any case thoug :

    • For the text of ports, look into TypePrefs.cs line #238
    • For connections, look into StyleSheet.cs line #255

    🙂

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.