Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Problems with FormItems

    Hi all,

    there are some Problems I discovered using SmartGWT lgpl Version 2.5 nightly build 2011-06-28 with IE9 and FF5.

    1. If you are using html tags in FormItem Tooltips theres a strange output in both browsers. In nightly build from 2011-04-18 there were no problems. I updated to 2011-06-28 because of this bug, which was also present in lgpl version http://forums.smartclient.com/showthread.php?t=17259&highlight=upload. This behaviour only occurs, if you are not using IE compatibility mode.

    2. Since Version 2.3 FormItemIcons in combination with DateItem are not aligned correctly. This was already discussed in several threads in this forum but unfortunatly not fixed. Maybe this can be done in the final 2.5 release?

    Here is a very simple example to reproduce the described problems:

    public void onModuleLoad() {
    VLayout layout = new VLayout();
    layout.setSize("100%", "100%");
    layout.setBorder("2px solid red");

    FormItemIcon icon = new FormItemIcon();
    icon.setSrc("/images/house.png");
    icon.setHeight(16);
    icon.setWidth(16);
    icon.setPrompt("<div style=\"width:300px;color:red\">Tooltip</div>");

    DateItem dateItem = new DateItem("date", "Datum");
    dateItem.setIcons(icon);
    dateItem.setPickerIconPrompt("<div style:color:red>blahhh</div>");

    DynamicForm form = new DynamicForm();
    form.setSize("200px", "300px");
    form.setItems(dateItem);

    layout.addMember(form);

    layout.draw();

    }

    I know that support for lgpl users doesnt seem to have any priority but I think, these issues are also present in commercial products.

    Regards Rainer
Working...
X