Android Question how set tabstrip size same as panel

analizer3816

Member
Licensed User
Longtime User
I can't set tabstrip width,height with code then
I put tabstrip into panel and set hori anchor = both, ver anchor = both
now I can set panel width,height with code but
tabstrip size not change

howto set tabstrip size same as panel size with coding
thanks
 
do you have some example?
I try this but it not work
Code:
Dim r As Reflector
r.Target = tabstrip1
r.RunMethod2("Height", 100%y, "java.lang.int")
 
Upvote 0
Upvote 0
I can't set tabstrip width,height with code then
I put tabstrip into panel and set hori anchor = both, ver anchor = both
now I can set panel width,height with code but
tabstrip size not change

howto set tabstrip size same as panel size with coding
thanks

i did the same and it is changing.
set the panel anchor also to BOTH (width + height) and try it.
 
Last edited:
Upvote 0
you are right, it is not changing, the height stays the same.

i put a CLV inside the tabstrip and i want to change the size of the tabstrip because i scroll from the top another panel and because i have a clv inside i would like to see all items in it, now when it is scrolled down the clv height does not changed because the tabstrip height doesnot change either.

is it possible to change the tabstrip height like i can do in the designer?
 
Upvote 0
ok what i did is setting the SV in CLV CLass to Public and now i am changing the SV height and i am getting the result i want.
anyway, the possibility to control the tabstrip size would be great.
 
Upvote 0
Back
Top