My search of the forum has proved fruitless, so now I must ask:
I want to set the two columns of my B4XTable to 20% and 80% of the width of the table container or base (?). Here's what I've tried that didn't work:
How do I set the column widths by percent of the table parent?
I want to set the two columns of my B4XTable to 20% and 80% of the width of the table container or base (?). Here's what I've tried that didn't work:
B4X:
Dim BaseAssetColumn As B4XTableColumn = table_ExchangePairs.AddColumn("Base Asset",table_ExchangePairs.COLUMN_TYPE_TEXT)
Dim QuoteAssetColumn As B4XTableColumn = table_ExchangePairs.AddColumn("Quote Asset(s)",table_ExchangePairs.COLUMN_TYPE_TEXT)
BaseAssetColumn.Width = table_ExchangePairs.mBase.width * 0.2
QuoteAssetColumn.Width = table_ExchangePairs.mBase.Width - BaseAssetColumn.Width
How do I set the column widths by percent of the table parent?