문제

I am building a calendar in LWUIT, and I can´t find a way to solve the next problem. When I add 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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top