On 22/11/2016 at 03:57, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R16
Platform: Windows ;
Language(s) : C++ ;
---------
Hi,
I'm having some issues with the res description for my ObjectData plugin ( not a Dialog but the actual plugin options/properties ).
Basically i have two buttons inside a Group which has 2 Columns, so that the Buttons sit side-by-side. This works great however they use the default scaling so that one button is bigger than the other and the two columns are not equal width..
I've attempted to use SIZE and also EQUAL_ROWS etc, but i get 'Error reading resource' if i use any of that. I'm sure this stuff worked in previous versions of C4D - any clues what i'm doing wrong here?
The following generated from resEdit does not work in R16:
GROUP IDC_STATIC
{
NAME IDS_STATIC1; ALIGN_TOP; SCALE_H;
BORDERSTYLE BORDER_NONE; BORDERSIZE 0, 0, 0, 0;
COLUMNS 1;
GROUP IDC_STATIC
{
NAME IDS_STATIC; ALIGN_TOP; SCALE_H;
BORDERSTYLE BORDER_NONE; BORDERSIZE 0, 0, 0, 0;
COLUMNS 2;
EQUAL_COLS;
BUTTON IDC_BUTTON1 { NAME IDS_BUTTON; ALIGN_TOP; SCALE_H; }
BUTTON IDC_BUTTON2 { NAME IDS_BUTTON1; ALIGN_TOP; SCALE_H; }
}
}
But a greatly cut-down version of it as follows works ok ( although i lose the formatting ) :
GROUP IDC_STATIC
{
NAME IDS_STATIC1; SCALE_H;
COLUMNS 1;
GROUP IDC_STATIC
{
NAME IDS_STATIC; SCALE_H;
COLUMNS 2;
BUTTON IDC_BUTTON1 { NAME IDS_BUTTON; }
BUTTON IDC_BUTTON2 { NAME IDS_BUTTON1; }
}
}
Is it no longer possible to use that kind of formatting?