Custom overridden info string not showing up on nodes

Forums 💬 NodeCanvas ⚙️ Support Custom overridden info string not showing up on nodes

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #19669
    grofit
    Participant

      So I have a custom action which I want to be able to display a custom blurb on the node, much like the ITween MoveAmount does.

      However it never seems to show up, I have overridden the property and set a string just saying “HELLO” for the moment but its not displayed, I thought it may be because I had an attribute on the class explicitly naming it, however even removing that doesn’t show up the custom text.

      So is there anything else you need to do other than override info?

      #19673
      grofit
      Participant

        LOL like most of my issues so far they are down to other problems, turns out there was a compile issue elsewhere in the project which was stopping the changes from rippling down.

        #19672
        grofit
        Participant

          on a side note is there any way to get the info to word wrap onto new line if it goes over the width?

          #19671
          Gavalakis
          Keymaster

            Glad to know it wasn’t a bug in the end 🙂

            As for the word wrapping, although I could make it wrap so, it won’t really work since in the next or after the next version, nodes will be scaled automaticaly based on their contents.

            So the only thing that could be done is to wrap the text based on a specific max width. I will try that

            #19670
            grofit
            Participant

              You do not have to support it, its just I have a description which includes a named handler and then 2 variables being used (as in this context the user would probably want to know what the bindings are) but it makes it quite lengthy. So it is sometimes difficult to balance useful information with space provided. If my variable names were shorter would not be an issue 🙂

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