On 11/05/2016 at 10:07, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R13-R17
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
---------
I have a problem with SCALE_V in resource of VideoPost, here is example code
CONTAINER vpmyvideopost
{
NAME vpmyvideopost;
INCLUDE VPbase;
GROUP ID_VIDEOPOSTPROPERTIES
{
DEFAULT 1;
SCALE_V;
STRING MY_SCALED_EDIT { CUSTOMGUI MULTISTRING; SCALE_V; }
}
}
Desired effect is to have MY_SCALE_EDIT scaled vertically across whole window in Render Settings, but I get only default height.
Because the same method works in drendersettings.res (for RDATA_HELPTEXT), I guess it is because render settings uses CustomDescriptionGui to show VP settings and this element doesn't have SCALE_V set. If so, is there some way to set it from within VP plugin?
Note that in my real code, I don't use MULTISTRING but my own iCustomGui, so if there is a way to get the height of parent dialog (the second column in render settings), it would also be solution as I could simply compute correct height and set it in main group.