Description Layout



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 02/05/2007 at 05:02, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   R9.507 
    Platform:   Windows  ;   
    Language(s) :     C++  ;

    ---------
    Hi
    finally my plugin works fine. But the description files are no eye candy, cause i can't find flags in the SDK to layout my descriptions. The dialogflags [SIZE] [SCALE_V] [FIT_V] don't work here. Are there flags like these for the descriptions i can use here?
    thx



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 02/05/2007 at 08:39, xxxxxxxx wrote:

    Welcome to one of the oddities of the C4D SDK. Dialogs and Descriptions are basically two different GUI interfaces - there is no real correlation between them.

    The Description interface provides even less element control and variation than Dialogs. Description files provide a minimum layout structure (tabs, groups, and group columns). In the SDK documentation, do an Index for "Description" (class Description) and you'll see what can be set for a description element through a BaseContainer programmatically - there are many more options than the resource provides including DESC_SCALEH, DESC_ALIGNLEFT, and DESC_FITH. Many of these DESC_ settings correlate to some of the resource settings (e.g.: COLUMNS = DESC_COLUMNS).

    As you'll note, there is no vertical layout control whatsoever for Descriptions.


Log in to reply