On 15/06/2018 at 06:06, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R19
Platform: Windows ;
Language(s) : C++ ;
---------
Hi,
When using the code below in a GeDialog's CreateLayout I get the first 2 static text nicely in two columns. However, I would have expected this to apply to "child" groups as well.
Unfortunately, the static text in these child groups end up on separate lines, resulting in:
Left column Right column
Left column (group)
Right column(group)
Is there a way to get groups next to each other?
// separate the dialog into 2 columns
GroupBegin(0, BFH_SCALEFIT, 2, 0, String(), 0);
{
AddStaticText(0, BFH_LEFT | BFV_TOP, 100, 0, String("Left column"), 0);
AddStaticText(0, BFH_LEFT | BFV_TOP, 100, 0, String("Right column"), 0);
GroupBegin(0, BFH_SCALEFIT, 1, 0, String(), 0);
{
AddStaticText(0, BFH_LEFT | BFV_TOP, 100, 0, String("Left column (group)"), 0);
// ... some more
}
GroupBegin(0, BFH_SCALEFIT, 1, 0, String(), 0);
{
AddStaticText(0, BFH_LEFT | BFV_TOP, 100, 0, String("Right column (group)"), 0);
// ... some more
}
}
GroupEnd();
Thanks