bad top position in grid cells

View: New views
1 Messages — Rating Filter:   Alert me  

bad top position in grid cells

by frederic_viollet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi again ;)

Here's another problem with IE8:

var gGrid = new rialto.widget.Grid({top:5,left:5,height:300,
        arrHeader:[{title:"col1",type:"string",width:200},
        {title:"col2",type:"string",width:200}],
        name:'gGrid',
        parent:document.body,
        navigationMode:false,row:5,
        cellActive:false,sortable:true,multiSelect:false,
        lineHeight:16,boolPrint:false,switchable:false,
        clickable:true,autoResizableW:false,writable:false});
gGrid.addOneLine(["coucou",""]);
gGrid.setCellText(0,1,"toto");
var iIm=new rialto.widget.Image('rialtoEngine/images/croix.gif',2,4,'','','',{boolFloatLeft:true});
gGrid.addObjectInCell(0,1,iIm,true);

With FireFox, the text in second second cell is correctly aligned with the text in the first cell.
But with IE8, the second text is displayed below the text in the first cell...

Thanks,

Fred