开发者

Scrollbar outside viewstack

开发者 https://www.devze.com 2023-01-28 07:38 出处:网络
Consider this example. I have two views in viewstack. One has a VRule extending from top of screen to bottom. Another view has a big accordion.

Consider this example. I have two views in viewstack. One has a VRule extending from top of screen to bottom. Another view has a big accordion.

If I give viewstack percent height=100%, first view works fine and second view gets clipped or has a vertical scroll bar inside view stack.

If I dont mention viewstack height and set resizeToContent to true, second view works fine and first view takes up only small part 开发者_如何学编程of screen.

If I mention viewstack height and set resizeToContent to true, first view works fine and second view gets clipped or has a vertical scroll bar inside view stack.

I want vertical scrollbar but for entire window, not just for viewstack. How to accomplish this ?


Check if you have given some specific height to accordion.

0

精彩评论

暂无评论...
验证码 换一张
取 消