Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    TileGrid tiles resize on first hover

    SmartClient Version: v13.1p_2026-06-08/AllModules Development Only (built 2026-06-08)
    SmartClient Version: v14.1p_2026-06-11/AllModules Development Only (built 2026-06-11)

    Chrome on MacOS

    Hi, I've noticed that if I add a border to the tileProperties of a TileGrid and use a fractional border width, such as 1.5px, the tiles are resized the first time the mouse hovers over them.

    I'd like to know whether fractional border widths are actually unsupported in this context, or if this could be a bug.

    Sample code:

    Code:
    isc.TileGrid.create({
        tileWidth:150,
        tileHeight:190,
        height:"100%",
        width:"100%",
        showAllRecords:true,
        tileProperties:{
            border:"1.5px solid red"
        },
        data:animalData,
        fields: [
            {name:"picture", type:"image", imageURLPrefix:"../inlineExamples/tiles/images/"},
            {name:"commonName"},
            {name:"status"}
        ]
    });
Working...
X