On 19/04/2015 at 05:20, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R14
Platform: Windows ;
Language(s) : C++ ;
---------
Hi folks,
I apologise in advance for this, but I'm at boiling point. Rant proceeds. The dialog system in Cinema is atrocious.
As an example, I've got a dialog setup where there's 3 groups which I want to expand across and fill a horizontal space. So I use the BFH_SCALEFIT flag in each group, thinking that this will expand each of the groups to the largest size possible in the given area (in this case, a third for each group). For the purposes of illustrating it, lets say the dialog is 1800 wide. So each group should get 600 pixel units to work with if there were 3 groups.
Now, if I start with just two groups, the dialog works fine and each group shares half the space (two groups with 900 pixels each). But if I uncomment the third group (and rebuild), the dialog layouts main group resizes itself (shrinks) and I'm left with a gapping big gap in the dialog with nothing in it. So, each group now has say 200 pixels, the main dialog group is now 600 pixels (3x200) and there's a 1300 pixel gap on the right hand side with nothing in it.
The dialog's main group is using the same scaling flag. So as I understand it, it should be scaling to 1800 pixels. Is my understanding here correct? Or is the BFH_SCALEFIT flag meant to do something else?
Why are hopelessly simple tasks like this so difficult to achieve in this system? Is it me not understanding the docs and how groups and layouts work? Or is it the flags system not doing what they should be doing? Is it an underlying system architecture thing? Something else?
And why are we not able to have a simple plain group with nothing in it? Things like this can be used as spacers, indents, colour fills etc. Why can't we just have a plain group that's x-pixels wide by y-pixels high without needing something else in it for the group to be 'valid'?
Is it me? Or is it the system?
WP.