Nodes does not resize when input/output have long names

Forums 💬 FlowCanvas ⚙️ Support Nodes does not resize when input/output have long names

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #21677
    rami_falldamage
    Participant

      Previously, nodes would resize when names where to long to fit them, they don’t anymore which makes it very hard to know what the outputs are for.

      #21680
      Gavalakis
      Keymaster

        Hello,

        That is correct. To avoid very long horizontal sizes for nodes, the port names are now “clamped” in the latest version by design.
        I understand that this can be problematic is certain cases though, thus I am thinking of adding a tooltip to the ports that will display the unclamped name on mouse over. I believe that this would be preferable so that horizontal node size can stay as minimum as possible.

        Let me know what you think.
        Thanks.

        #21679
        rami_falldamage
        Participant

          I would prefer it to be an option, long horizontal nodes is not really a problem for us and if we want them to be short then we just shorten the input/output names. Even with a tooltip the problem still remain, it gets very hard to get the general overview with the graph when many of the input/output names are clamped.

          #21678
          Gavalakis
          Keymaster

            Hello again,
            I understand. I could make it as an option for the next version. Meanwhile, if you want to remove the “clamping” right now, please open up Ports.cs and change line about #50 var displayNameCaped = displayName.CapLength(18); to something like var displayNameCaped = displayName; (basically remove the CapLength, or increase the length if you like).

            Thank you!

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