Setting JTable intercellspacing from synth xml

165 views Asked by At

I have a synth XML that defines the property of the components that I use. Since I just now started with the synth XML need some guidance on setting the intercell spacing for the table I have.

I have defined the <style> tag and binded it with my component(JTable). I am able to change the background color and few other attributes. How can I set the inter-cell spacing of the table. I have gone through the link to try it set using property. Which also didn't help.

1

There are 1 answers

2
Vivekh On
                  Name:
                        {
                            title: 'Name',
                            width: '13%'
                        },
                    EmailAddress:
                        {
                            title: 'Email-Id',
                            width: '15%'   ......................> here u can specify width 
                        },