AD
Administrator
Syncfusion Team
November 19, 2004 11:55 AM UTC
In the EllipsisCell.cs file, in OnLayout, make this change.
//buttonsBounds[0] = GridUtil.CenterInRect(rightArea, new Size(20, 20));
buttonsBounds[0] = GridUtil.CenterInRect(innerBounds, new Size(40, 40));
In the EllipsisCellModel constructor, make this change.
//base.ButtonBarSize = new Size(20, 20);
base.ButtonBarSize = new Size(40, 40);
Also, make sure the row height for these cells are taller than 40.
With these changes, I think you should see your centered larger buttons.
I do not know where you want the text, but you should make your OnLayout return a bounding textrectangle so the grid knows where you want it.
You may also want to tweak OnQueryPrefferedClientSize.