A table with two columns, how to fit the colums in the table?

IoSonoPiero

Active Member
Licensed User
Longtime User
Mmmhh, I'm wondering about there's a way to let users scroll the table with finger growing the width of the scrollbar dinamically.

The scrollbar associated to the table, can be overrided by a scrollbar from ControlsEx?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
I haven't tested it on the device but it should probably work:
B4X:
   obj2.Value = obj1.GetProperty2("Item", 1)
   VScrollVisible = obj2.GetProperty("Visible") 'Vertical scroll bar visible
    VScrollHeight = obj2.GetProperty("Width") 'Vertical scroll bar width

   obj2.SetProperty("Width", 100) '<- sets the width of the vertical scroll bar

You need to add the last line to your code.
 
Top