Sorry I didnt see it properly and thought you are modifying options. On Wednesday 23 June 2010 06:45 PM, Pritam Ghanghas wrote: > I am sure somewhere the base class implementation is calling > initStyleOption(&option, index) > that is overriding your values. I had faced a similar problem once. > >