Column offset in WebListBox

Good morning, everyone,

Is there a way to offset cell’s content from the cell’s border in a WebListBox?

I want cell’s content to be about 2 pixels away from the left border of the cell.

Thank you,

VK

Create a WebStyle with a Left padding and then assign it in the Shown event like this:

Me.CellStyle(0, 1) = CellPaddingStyle // Apply Style to a specific cell.

or like this:

Me.ColumnStyle(1) = CellPaddingStyle // Apply Style to a column