B4J Question B4XTable change size of header information for big numbers

Coldrestart

Member
Licensed User
Longtime User
Hello everyone,

In a B4XTable, how can I make the header labels or fields bigger, to show all header data? (like the number of page that is shown)





Thanks in advance.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
B4X:
Private Sub B4XPage_Created (Root1 As B4XView)
    Root = Root1
    Root.LoadLayout("MainPage")
    Dim data As List
    data.Initialize
    B4XTable1.AddColumn("col1", B4XTable1.COLUMN_TYPE_NUMBERS)
    B4XTable1.AddColumn("col2", B4XTable1.COLUMN_TYPE_NUMBERS)
    For i = 1 To 150000
        data.Add(Array(i, i))
    Next
    Wait For (B4XTable1.SetData(data)) Complete (Unused As Boolean)
    B4XTable1.lblNumber.TextSize = 14
End Sub

Private Sub B4XPage_Resize (Width As Int, Height As Int)
    B4XTable1.lblFromTo.Width = 300dip
End Sub
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…