Hi, I'm using Erel's algoritm to set the left aligment of my B4XTable columns, however the text appears so close to the left that is uggly, the only padding that I can add is a space as a first character in my cell strings, but this maybe hinters the search speed. Is there's another way to add some padding to the left?
Thanks
Alejandro
Thanks
Alejandro
B4X:
Private Sub AlineacionCelda(column As B4XTableColumn,alineacionVertical As String,alineacionHorizontal As String)
For i = 1 To column.CellsLayouts.Size - 1 'starts at 1 due to header
Dim pnl As B4XView = column.CellsLayouts.Get(i)
pnl.GetView(0).SetTextAlignment(alineacionVertical,alineacionHorizontal)
Next
End Sub