Announcement

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

    Unnecessary Scroll bar in drop down list

    Hi Isomorphic,

    On using drop down menu list with Japanese characters, it shows unnecessary scroll bars (both Horizontal & Vertical) in Edge browser.
    When there are more Menu items, this issue is not observed.
    Kindly refer the attached screen shot & source code.

    SmartGWT version: 5.1
    Edge browser: 40.15063.0.0

    Code:
    [B]import[/B] com.google.gwt.core.client.EntryPoint;
    [B]import[/B] com.google.gwt.user.client.ui.RootPanel;
    [B]import[/B] com.smartgwt.client.data.DataSource;
    [B]import[/B] com.smartgwt.client.widgets.Canvas;
    [B]import[/B] com.smartgwt.client.widgets.form.DynamicForm;
    [B]import[/B] com.smartgwt.client.widgets.form.fields.SelectItem;
    [B]import[/B] com.smartgwt.client.widgets.grid.ListGrid;
    [B]import[/B] com.smartgwt.client.widgets.layout.VLayout;
    [B]import[/B] com.smartgwt.client.widgets.tab.Tab;
    [B]import[/B] com.smartgwt.client.widgets.tab.TabSet;
    [B]import[/B] com.smartgwt.client.widgets.tab.events.TabSelectedEvent;
    [B]import[/B] com.smartgwt.client.widgets.tab.events.TabSelectedHandler;
    
    [B]public[/B] [B]class[/B] Edgee [B]implements[/B] EntryPoint  {
    
    
    [B]public[/B] [B]void[/B] onModuleLoad() {
    
        RootPanel.[I]get[/I]().add(getViewPanel());
      }
    
    [B]public[/B] Canvas getViewPanel() {
    
    
             VLayout vl=[B]new[/B] VLayout();
    
    
       DynamicForm filterDynaForm = [B]new[/B] DynamicForm();
    
        SelectItem filter= [B]new[/B] SelectItem();
    
        String[] a={"すべてのデバイス","すべてのデバイスデバイスデバイス1","すべてのデバイス2","すべてのデバイス3","フィルター作成", "編集/削除"};   
    
        filter.setTitle("filter");
        filter.setValueMap(a);
        filter.setDefaultValue(a[0]);
    
    
        filterDynaForm.setItems(filter);
    
    
        vl.setWidth(700);
        vl.setHeight(400);
    
    
        vl.addMember(filterDynaForm);
    
    [B]return[/B] vl;
    
      }
    
    }
    Issue observed with:
    String[] a="すべてのデバイス","すべてのデバイスデバイスデバイス1","フィルター作成", "編集/削除"

    Issue not observed with:
    String[] a="すべてのデバイス","すべてのデバイスデバイスデバイス1","すべてのデバイス2","すべてのデバイス3","フィルター作成", "編集/削除"

    Kindly confirm & share your comments.
    Attached Files

    #2
    Hi Isomorphic,

    I have a similar issue in older(?) FF on Mac (also 5.1p, Simplicity based skin), but did not report it, yet.

    Best regards
    Blama

    Comment


      #3
      As far as an issue on Edge, since this is a cosmetic issue on a very low market share browser, only with a specific language, and since this is almost certainly a native browser bug (bad sizes being reported) that may be very hard to work around if it is possible at all, we are marking this wontfix (without investigating).

      An issue on FF, if reproducible, might be worth looking at. However note, if it's intermittent, especially if it doesn't happen when the browser has had a chance to cache the page, the problem could be that the font is not fully loaded at the moment that auto-sizing is attempted. This affected the Tahoe skin in 6.1, and there is now a FontLoader class that is responsible for managing font loading and its interaction with rendering, and can be used to load additional fonts as well.

      Comment

      Working...
      X