iOS Question SD XUIView2 resize columns?

tsteward

Well-Known Member
Licensed User
Longtime User
Is it possible to resize columns. It doesn't seem to use the whole screen or there is padding or something.
This is set to two columns but on iPhone6 it reverts to 1 column.
If I set it to 3 columns it will display two columns but each button is very small
 

Attachments

  • 290620828_1027437664800655_3959867766245879875_n.jpg
    88.3 KB · Views: 108

Star-Dust

Expert
Licensed User
Longtime User
To allow more than one column to be visible you need to set the correct width of each column.

B4X:
xGridListView1.ItemWidth=(xGridListView1.Width/NumCol)-5dip
'log("Num cols max (for 150dip) is:" & xGridListView1.MaxCol)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…