>Hello everyone, > > >I am trying to get the text to be center aligned > > >Here is my xml, > > ><producer in="0" out="120"> > <property name="mlt_service">colour</property> > <filter> > <property name="mlt_service">dynamictext</property> > <property name="argument">this text is going to be >center aligned ></property> > <property name="family">Chumbly BRK</property> > <property name="align">center</property> > <property name="size">40</property> > <property name="fgcolour">0xFFFFFFFF</property> > <property name="weight">640</property> > <property name="bgcolour">0x00000000</property> > <property name="olcolour">0xFFFFFF05</property> > <property name="outline">1</property> > <property name="geometry">0%/50%:100%/100%</property> > </filter> > <property name="colour">0xB10CEDff</property> > </producer> > > >but the text always comes with left alignment. >Can any one help me in this aspect?
halign and valign should do what you want: http://www.mltframework.org/bin/view/MLT/FilterDynamictext you should change: <property name="align">center</property> to <property name="halign">centre</property> This will center the text inside your geometry. So make sure the geometry spans the entire frame. ~Brian ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Mlt-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mlt-devel
