iOS Question TabStrip Height During Runtime

aaronk

Well-Known Member
Licensed User
Longtime User
Hi,

I am using the TabStrip in my project - https://www.b4x.com/android/forum/threads/tabstrip.80277/#content

I have loaded the TabStrip using the designer. (layout1)

I have another layout (layout2) which contains 2 images.

Image1 is at the top of the page.
Image2 is at the bottom of the page.

I am trying to work out how to make the TabStrip height between the 2 images.

Yes, I know I could just move the TabStrip to Layout2 and use the designer script, but I used the above as an example.

My main app, is using Layout 2 on all screens and rather than adding it to each layout I wanted to re-use the same layout in case I decide to change the layout and won't have to change every layout page.

If I can make it so the TabStrip can change it's height then I should be able to do what I am wanting to do, but can't work out how to do it.

I was hoping to adjust the height using the Page_resize event, but the TabStrip can't adjust the height using the code during runtime and only in the designer.
 
Top