hai,
i try to create a checkbox menu. But the alignment of the checkbox in the menu is not correct . it is distracted .
There is any config option checkbox alignment for the menu.
The menu is created dynamically based on the server data.
If there is one item in the menu , it is aligned properly.
If there are more than one items in the menu the alignment is not correct.
The last item in the menu is aligned correctly.
I put this menu inside a grid toolbar
How to solve this problem.
This is my code:
Code:
var toolbar = new Ext.Toolbar({
menu : new Ext.menu.Menu({
items : [
{
text : 'Friends',
id : '14',
checked : false,
checkHandler : onItemCheck
},
{
text : 'NortelGrp',
id : '12',
checked : false,
checkHandler : onItemCheck
},
{
text : 'ThinkCoreGrp',
id : '11',
checked : false,
checkHandler : onItemCheck
}
]
})
});
please help me...