Real slider won't fill up available space
-
On 22/02/2014 at 06:44, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 13,14,15
Platform: Windows ;
Language(s) : C++ ;---------
Hi,
the built in PoseMorph tag in C4D has no problems with this, the sliders fill up the available space.
But my own plugin won't do this.
If I have a Real Slider on its own, all is fine. But like the PoseMorph tag, I want to use a checkbox, a BOOL, to the left of the slider. As soon as I add this, the Real Slider shrinks and becomes very short.How can I make the slider fill up the available space? FWIW, I have tried several combinations with Layoutgroups etc etc
CONTAINER Tfoobartag { INCLUDE Texpression; GROUP FOO_MAIN { DEFAULT 1; COLUMNS 2; BOOL FOO_BOOL{} REAL FOO_REAL {CUSTOMGUI REALSLIDER; UNIT PERCENT; MIN 0; MAX 100; MINSLIDER 0; MAXSLIDER 100; } } }
-
On 22/02/2014 at 14:11, xxxxxxxx wrote:
Ok, finally I found the solution, by looking at a bunch of RES files, SCALE_H; will do the trick!