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

    Dialog Element Sizing

    Scheduled Pinned Locked Moved SDK Help
    1 Posts 0 Posters 131 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 26/10/2012 at 06:45, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:    
      Platform:      
      Language(s) :

      ---------
      Hello all,

      I wonder why the element-size in a description-resource is not equivalent to the size in pixels? And not even quadratic?

      To be more precise:
      I want a user-area to be exactly 16x16 pixels. Unfortunately, I cannot simply enter 16x16 into the Resource Editor, like this

      because it results in a non-quadratic user-area.

      I have used an image-tool to measure the size of the resulting user-area and found out that the relationship between the actual size and the defined size is for the width 1.6 and for the height ~0,761905.

      Why is the defined size != the actual size (in pixels)? It wouldn't actually be bad if it was at least be the same factor, but it isn't! And this is in fact, really annoying.

      The actual dimensions that I have to set are 27x12 to get a 16x16 pixels user-area.

      Thanks in advance,
      Niklas

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