Android Question B4XTable - pnlTitles? and sizing question

Tony Tetley

Member
Licensed User
Longtime User
The B4XTable is a great solution for what I am doing. When I run my app on a tablet this header seems to get squeezed vertically smaller. In trying to find a way to adjust it I have tried several options but none seem to work. I tried resizing pnlHeader but that doesn't seem to work. I tried pnlTitles but get an error saying pnlTitles is not initialized. So, two questions.

What is the pnlTitles and how is it used?
Is there a way to make the nav / search panels vertically larger?

TableHdr.png
 
Last edited:

TILogistic

Expert
Licensed User
Longtime User
? sleep

B4X:
    Root.LoadLayout("MainPage")

    Sleep(0)
    B4XTable1.pnlHeader.Height = 20dip
and you can modify the header and its children by code, it is part of the layout that b4xtable loads.

1759813163995.png


1759813379574.png
 
Upvote 0

Tony Tetley

Member
Licensed User
Longtime User
? sleep

B4X:
    Root.LoadLayout("MainPage")

    Sleep(0)
    B4XTable1.pnlHeader.Height = 20dip
and you can modify the header and its children by code, it is part of the layout that b4xtable loads.

View attachment 167634

View attachment 167635
Sorry for the delayed response. Where did you get these definitions, did you define them yourself? Did you create the views in designer that you show in the screen shot? Thanks.
 
Upvote 0
Top