THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 08/03/2012 at 02:25, xxxxxxxx wrote:
Cinema 4D Version: R13
Platform: Windows ;
Language(s) : C++ ; PYTHON ;
I've set up a little dialog with ResEdit. It contains a group which is set to manage 2 columns, a string on the left side and some contol gadged on the right side. I've seperated some columns with Seperators, which makes it a lot more overviewable.
The Strings are set to BFH_LEFT and the Control-gadgets to BFH_SCALEFIT. The problem is that the seperators seem to adjust the column widths, and I don't want them to. The dialog is displayed how I want it in the ResEdit Editor, but not when using the Dialog-resource in a Tool-plugin as a SubDialog.
Any idea why this is happening and how to fix it?
On 08/03/2012 at 12:21, xxxxxxxx wrote:
Perhaps I may add a question on top of this (sorry, no solution from my side) :
In C4D the text in front of gadgets is padded with dots up to the actual gadget. Is there an automatic way to achieve this or does one have to do it manually by inserting dots depending on string length?
On 08/03/2012 at 12:34, xxxxxxxx wrote:
What you are talking about are Descriptions , they differ from Dialogs and can not be used outside of the Attribute Manager (and in Python, since now, not with a Tool-plugin, although it is shown in the AM) The C++ SDK has information about Dialogs and Descriptions in more detail.
If you want to write an Object- or Tag-Plugin, maybe you want to look into DescriptionEditor.
On 08/03/2012 at 12:42, xxxxxxxx wrote:
I think, I know the difference between dialogs and descriptions (at least I hope so). But I would like to achieve the same look in a dialog, as there is in all other parts of the GUI. After all aren't all GUI parts (like Attribute Manager) in the end coming down to dialogs (although they are used and handled differently within the SDK)? Well, at least that's what I intended to ask... but perhaps I should have made up a new topic with this question...
On 08/03/2012 at 13:07, xxxxxxxx wrote:
I'm pretty sure it's not possible with the built-in stuff, but you could write your own "Gadget-Name Viewer". Although this might be a bit overhead ..
On 08/03/2012 at 16:27, xxxxxxxx wrote:
well you are using two seperators, so this result is working as intended (it is the same behaviour as with user data seperators). you have to use more groups i guess, something like this :
On 09/03/2012 at 09:33, xxxxxxxx wrote:
But that does not automatically align the Gadgets like a table.. Of course I could do it by hand, but it could lead to problems with different languages (different length of words).
And it works in res-edit, so why not in my own dialog?