Resizing a Gadget



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

    On 07/10/2005 at 12:29, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   9.5 
    Platform:      
    Language(s) :     C++  ;

    ---------
    Hi,

    Simple question.

    How can I resize a gadget thats in my GeDialog?

    I have a UserArea inside a ScrollGroup, and wish to resize the UserArea, so I can use the ScrollGroup to pan across the UserArea image.

    Thanks



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

    On 07/10/2005 at 14:59, xxxxxxxx wrote:

    You most likely cannot. Note that there are no implementated means to change the size of a gadget as the layout is done by the GUI interface.

    You could try doing a relayout (an example is in the cinemasdk examples under ;source/gui/asynctest.cpp'). This would not be useable for interactive changes, only after-the-fact. To avoid relaying the entire dialog, make certain to put the affected gadgets into a group.



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

    On 07/10/2005 at 16:43, xxxxxxxx wrote:

    Thanks,
    that worked perfect


Log in to reply