Opened 14 years ago

Closed 14 years ago

#6103 closed defect (fixed)

Grid header height incorrect on Firefox when variable width columns contain spaces

Reported by: sorvell Owned by: sorvell
Priority: high Milestone:
Component: General Version: 1.0
Keywords: Cc:
Blocked By: Blocking:


When the grid contains columns with flexed width like width: "auto" or width: "75%" and the column name contains spaces, the header is rendered too tall on Firefox.

The height appears to be the height the header would be if the column wrapped text after every word.

Change History (1)

comment:1 Changed 14 years ago by sorvell

Resolution: fixed
Status: newclosed

(In [12932]) !strict fixes #6103 Grid resize logic changed to correct this behavior. The issue here is that the header width must be set before its height can be properly calculated.

Previously the header was assumed to be the correct height right after it was rendered in Grid.prerender. Then all dimensions were set for each view at once in Grid._resize.

Now, the header is rendered but not sized. Then view widths and position are set. Then header and view heights are set. This should correct the problem while maintaining efficient rendering.

Note: See TracTickets for help on using tickets.