Announcement

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

    Letters cropped in input field on FF (Win7) - Showcase, too

    Be sure your post includes:

    1. SmartClient Version: v11.0p_2016-05-13/LGPL Development Only (built 2016-05-13)

    2. Firefox 46.0.1 on Windows 7 Professional Service Pack 1

    3.

    4.

    5.

    6. Sample code:
    Code:
    package pl.com.tech4.client;
    
    import com.google.gwt.core.client.EntryPoint;
    import com.google.gwt.user.client.DOM;
    import com.smartgwt.client.data.DataSource;
    import com.smartgwt.client.data.DataSourceField;
    import com.smartgwt.client.data.fields.DataSourceDateTimeField;
    import com.smartgwt.client.data.fields.DataSourceTextField;
    import com.smartgwt.client.types.FieldType;
    import com.smartgwt.client.util.SC;
    import com.smartgwt.client.widgets.form.DynamicForm;
    
    public class MainEntryPoint implements EntryPoint {
      
        public void onModuleLoad() {
    
            DOM.getElementById("loadingPicture").removeFromParent();
            layout();
            SC.showConsole();
        }
      
        private void layout() {
    
            DataSource projectDS = new DataSource();
          
            DataSourceField idField = new DataSourceField();
            idField.setType(FieldType.SEQUENCE);
            idField.setName("id");
            idField.setPrimaryKey(true);
            idField.setHidden(true);
            DataSourceTextField codeField = new DataSourceTextField();
            codeField.setName("code");
            DataSourceDateTimeField validFromField = new DataSourceDateTimeField();
            validFromField.setName("validFrom");
            DataSourceDateTimeField validToField = new DataSourceDateTimeField();
            validToField.setName("validTo");
           
            projectDS.setFields(idField, codeField, validFromField, validToField);
           
            DynamicForm df = new DynamicForm();
            df.setDataSource(projectDS);
           
            df.draw();
        }
      
    }
    Hi,
    Running above sample in Firefox 46.0.1 on Windows 7 sp1 shows cropped 'long' letters like y, g, p, which are typed into the code field (as shown on the attached picture).
    Click image for larger version

Name:	ff_input_crop.png
Views:	48
Size:	1.8 KB
ID:	238210 In fact, the same could be seen on Showcase / Forms / Various controls - Text field.
    This is only noticed on FF - Chrome on the same pc has no such issue. Also the very same FF version is fine on Windows 8 or newer.
    Thanks,
    MichalG
Working...
X