PDA

View Full Version : labelWidth:'auto' and labelAlign:'right' not working together



sivaprasadreddy.k
23 Feb 2014, 11:43 PM
Hi,
I have a Table layout with 2 columns. Column labels and data comes from server side and are dynamic (ie don't know the lengths of label/data). I want to expand the label widths automatically so I set labelWidth: 'auto' and it is working fine. But the labels are not right aligning. If I set labelWidth to a fixed size say labelWidth: '200' then right aligning working fine.

Any suggestion to make them work together?

Regards,
Siva

Gary Schlosberg
24 Feb 2014, 5:36 AM
With which version of ExtJS are you seeing this? Any chance you can post a small test case so we can see what is going on?