开发者

Horizontal blackberry file manager

开发者 https://www.devze.com 2022-12-16 21:16 出处:网络
i have a horizontal file manager on a screen ...and a vertical field manager inside the horizontal field manager..but the height of the vertical field manager increases and decreases due to a开发者_St

i have a horizontal file manager on a screen ...and a vertical field manager inside the horizontal field manager..but the height of the vertical field manager increases and decreases due to a开发者_StackOverflow中文版dding and deleting fields dynamically... and the height of the horizontal file manager changes accordingly which i don't want...i want to fix the height of the horizontal file manager to a specific height..which would be max val for vertical field manager...

how can i do this...


try this code

HorizontalFieldManager hfm = new HorizontalFieldManager(Manager.VERTICAL_SCROLL|Manager.VERTICAL_SCROLLBAR){
                    protected void sublayout(int maxWidth, int maxHeight) {
                        maxHeight = specificHeight;
                        super.sublayout(maxWidth, maxHeight);
                    }
                };
0

精彩评论

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

关注公众号