开发者

LWUIT Calendar issue

开发者 https://www.devze.com 2023-04-11 07:44 出处:网络
I am building a calendar in LWUIT, and I can´t find a way to solve the next problem. When I add开发者_Python百科 my calendar to the form, it shows a month ComboBox, a year ComboBox and the days of th

I am building a calendar in LWUIT, and I can´t find a way to solve the next problem. When I add开发者_Python百科 my calendar to the form, it shows a month ComboBox, a year ComboBox and the days of the actual month with some days of the previous month and some days of the following month. I don´t want to show the days of the previous month nor the days of the following month.

Can I set some UIID to them, to make them not visible?

Thanks.


A UIID can't make a component invisible. We have a visible attribute (setVisible(boolean)), however an invisible component will still occupy the space where it resides. If you want to completely remove the component just remove it from the parent container.

0

精彩评论

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

关注公众号