SCALE_V in VideoPost description
-
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 codeCONTAINER 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.
-
On 13/05/2016 at 08:59, xxxxxxxx wrote:
Hi,
I'm afraid this looks like a limitation of the Render Settings dialog setup.
The same parameter definition for an Object plugin works as expected in the Attribute Manager i.e. the edit text scales vertically as expected.