Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    MULTISTRING field size and font

    Cinema 4D SDK
    3
    5
    829
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • rsodreR
      rsodre
      last edited by

      Hi,

      Is there a way to set the string height and font?
      I prefer sometimes to have it be monospaced.
      And was hoping that SCALE_V would but scale it to fit the attributes manager height, but it has no effect at all. What does it do?

      Roger

      1 Reply Last reply Reply Quote 0
      • M
        m_adam
        last edited by m_adam

        Hi @rsodre, unfortunately this is not possible, the only workaround is to create your own custom GUI.

        Cheers,
        Maxime.

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        1 Reply Last reply Reply Quote 0
        • CairynC
          Cairyn
          last edited by

          As for SCALE_V, this normally works... but all groups above the GUI element need to have the same property:

          CONTAINER Tcommentarytag
          {
          	NAME Tcommentarytag;
          	INCLUDE Tbase;
          
          	GROUP ID_TAGPROPERTIES
          	{
          		SCALE_V;
          
          		STRING COMMENTARY_STRING { CUSTOMGUI MULTISTRING; SCALE_V; }
          	}
          }
          

          This way, it works - remove the SCALE_V from the GROUP and it won't work any more (because the group then is sized only to the necessary minimum vertically, and the string field simply doesn't get any additional space as the group has eaten it all up).

          1 Reply Last reply Reply Quote 3
          • M
            m_adam
            last edited by

            Thanks @Cairyn I overlooked this part of the question and I agree that if you want the SCALE_V to works, of course, the hosted group have to be scaled also otherwise you will see no effect.

            But to define the font size and font you have to do your own custom GUI.
            Cheers,
            Maxime.

            MAXON SDK Specialist

            Development Blog, MAXON Registered Developer

            rsodreR 1 Reply Last reply Reply Quote 0
            • rsodreR
              rsodre @m_adam
              last edited by

              As for SCALE_V, this normally works... but all groups above the GUI element need to have the same property

              Nice! Thanks!

              1 Reply Last reply Reply Quote 0
              • First post
                Last post