Opened 9 years ago

Closed 8 years ago

#11362 closed defect (worksforme)

Grid with claro theme has incorrect padding when using dojox.grid._CheckBoxSelector

Reported by: andy Owned by: evan
Priority: high Milestone: 1.7
Component: DojoX Grid Version: 1.5.0rc1
Keywords: grid CheckBoxSelector claro Cc:
Blocked By: Blocking:

Description

Create a grid with a column in the structure defined as dojox.grid._CheckBoxSelector, e.g.

var detailLayout = [{

type: "dojox.grid._CheckBoxSelector"},{ cells: [ { name: "SNAM", field: 'SNAM', width: "50px;" }, { name: "BWNUM", field: 'BWNUM', width: "50px;" } ]}];

This renders badly with the checkboxes misaligned. The style '.claro .dojoxGridCell' { border:1px solid transparent; padding:0; }

should really be padded to 1px if the CheckBoxSelector? is used.

Attachments (1)

11362.jpg (70.5 KB) - added by evan 8 years ago.
Working well under claro theme

Download all attachments as: .zip

Change History (7)

comment:1 Changed 9 years ago by Adam Peller

Component: GeneralDojoX Grid
Owner: changed from anonymous to Evan

see #11104

comment:2 Changed 9 years ago by bill

Owner: changed from Evan to evan

comment:3 Changed 9 years ago by evan

Milestone: tbd1.7

comment:4 Changed 9 years ago by evan

Priority: normalhigh

comment:5 Changed 8 years ago by evan

Priority: highnormal

comment:6 Changed 8 years ago by evan

Resolution: worksforme
Status: newclosed

Not reproduced in trunk with dojox/grid/tests/test_grid_selectors.html by changing to claro theme(as the attached 11362.jpg shows).

'.claro .dojoxGridCell' is having padding: 3px 5px,

Changed 8 years ago by evan

Attachment: 11362.jpg added

Working well under claro theme

Note: See TracTickets for help on using tickets.