Static Text Font/Size in Description Resource

  • 0_1545657044811_Capture.PNG

    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!

  • 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
    #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.


  • 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.