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
    • Recent
    • Tags
    • Users
    • Register
    • Login

    Resizing a Gadget

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 280 Views
    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.
    • H Offline
      Helper
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          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

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