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
    • Admin
    • Login

    Centerbutton is description

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 322 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

      On 12/05/2016 at 07:26, xxxxxxxx wrote:

      I have a ObjectData plugin and thus a description "dialog".
      I am using a resouce file to define the description.

      I like to center a button, but i do not know how to do this.

      CONTAINER descriptionTest
      {
          INCLUDE Obase;
              
              GROUP OTEST
              {            
                 BUTTON OB_FIT {}	//How to center this button?
        
      ......
        
      
      
      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        On 13/05/2016 at 02:35, xxxxxxxx wrote:

        Hello,

        a parameter description is not a dialog. It is primarily just a list of parameters. It may be displayed in the Attribute Manager or in a different context. So the possibilities for layout the parameters are limited.

        Parameters are organized in groups. So a parameter is typically not centered or placed directly. Instead the parent group or groups are defined. Some complex example can be found in the resource file of the cloth tag.

        I tried to come up with some centered button but did not succeed. So I cannot really say if it is possible to archive this specific layout with the limited possibilities of the parameter description.

        Best wishes,
        Sebastian

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

          On 13/05/2016 at 09:19, xxxxxxxx wrote:

          Ok, thanks.
          I understand and leave it as it is.

          -Pim

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