Hi,
I'm using a TimeItem with two SelectItems for hour and minute:
Now I'm wondering whether it's possible to completely hide the SelectItem titles for the hour and minute item (which are "Hour" and "Min" by default)?
I tried the following alternatives:
--> No effect at all
--> No titles are displayed, however, the SelectItems are not vertically aligned with the TimeItems title; there's some free space above them (see attached Screenshot).
Do you have any other suggestions?
Thank you very much for your help.
SmartGWT Power 4.0,
v9.0p_2013-07-09/PowerEdition Deployment
I'm using a TimeItem with two SelectItems for hour and minute:
Code:
TimeItem start = new TimeItem("start"); start.setUseTextField(false); start.setShowSecondItem(false);
I tried the following alternatives:
Code:
SelectItem itemProps = new SelectItem(); itemProps.setShowTitle(false); start.setHourItemProperties(itemProps); start.setMinuteItemProperties(itemProps);
Code:
start.setHourItemTitle(null); start.setMinuteItemTitle(null);
Do you have any other suggestions?
Thank you very much for your help.
SmartGWT Power 4.0,
v9.0p_2013-07-09/PowerEdition Deployment
Comment