Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    Static Text Font/Size in Description Resource

    Cinema 4D SDK
    2
    3
    844
    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.
    • O
      Ogers
      last edited by m_adam

      0_1545657044811_Capture.PNG

      Hello!
      I am working with Render Engine Settings and I have build my own Render Settings using Description Resource
      Is there any way that I can use different fonts or style such as Italic/bold etc for the static text shown in the picture, and also change the size of it if possible. I am not finding how to do it on the documentation.
      I would really appreciate if you could help me on this.
      Thank you in advance!

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

        Hi @Ogers, first of all, I wish you a happy new year.

        Welcome back and thanks for your patience. There is no way to change the font property locally. This will break our UI consistency.
        But I propose you 2 other solutions.

        Use RegisterPluginHelpDelegate to react to the "Show help" click when an user left click on a parameter like so:

        static Bool PluginsHelpDelegate(const maxon::String& opType, const maxon::String& baseType, const maxon::String& group, const maxon::String& property)
        {
            if property == "SYMBOL_ID_OF_CAMERA_PARAMETER"_s:
                // A MessageDialog is shown. Instead, an URL to online or local help could be opened in a browser
                MessageDialog("Any Camera or Stereo Camera Rig can be selected......."_s)
        }
        
        // be sure to use a unique ID obtained from www.plugincafe.com
        #define ID_HELPPLUGIN 1000000
        RegisterPluginHelpDelegate(pluginid, PluginsHelpDelegate);
        

        The other option can be to create a group folded by default which will only contain the static text.

        If you have any questions please let me know.

        Cheers,
        Maxime.

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        1 Reply Last reply Reply Quote 0
        • O
          Ogers
          last edited by

          Hello @m_adam, I wish you and all the members of the forum together with the staff Happy New Year.
          And thank you for your answer. It helped me a lot.

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