Announcement

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

    Select-Formitem with multipleAppearance grid has larger font-size

    Hi there,
    Using a FormItem with type select and the grid appearance we are facing some inconsistency with the font-size.

    In the images below you can see that the values in the second FormItem is shown larger than in the first and third. This is reproducable at least in Firefox, Chrome and IE11 and the latest build SmartClient_v101p_2016-05-14_Pro.

    Firefox:

    Chrome:

    IE11:


    I think the font-size should be the same on all formitems.

    This is the code for repdroduction.
    Code:
    isc.DynamicForm.create({
        "ID" : "selectItemWithGridAppearanceExampleForm",
        "hideUsingDisplayNone" : false,
        "colWidths" : [100, 200],
        "fields" :
        [{
                "ID" : "test1",
                "name" : "test1",
                "title" : "Text",
                "type" : "text"
            }, {
                "ID" : "selectItemWithGridAppearance",
                "name" : "selectItemWithGridAppearance",
                "title" : "SelectItem with grid appearance",
                "type" : "select",
                "multiple" : true,
                "multipleAppearance" : "grid",
                "valueMap" : {
                    1 : "1",
                    2 : "2",
                    3 : "42",
                    4 : "1337",
                    5 : "9001"
                }
            }, {
                "ID" : "normalSelectItemForComparison",
                "name" : "normalSelectItemForComparison",
                "title" : "Standard SelectItem for comparison",
                "type" : "select",
                "multiple" : true,
                "valueMap" : {
                    1 : "1",
                    2 : "2",
                    3 : "42",
                    4 : "1337",
                    5 : "9001"
                }
            }
        ],
        "values" : {
            "test1" : "this is the size of normal text",
            "selectItemWithGridAppearance" : [1, 2],
            "normalSelectItemForComparison" : [1, 2]
        }
    });
    Best Regards

    #2
    actually I see a similar inconsistency in the ListGrid.filterEditor FormItems, ie http://www.smartclient.com/#adaptiveFilterFS
    Click image for larger version

Name:	814406560_10044643038428464965.jpg
Views:	163
Size:	72.8 KB
ID:	237977

    font-size is 13px in the filter, but 12px in the grid cell (with 'compact' setting).

    Comment


      #3
      but actually I see that the text in FormItems is 1px larger than the text in FormItem titles and in grid cells, buttons, etc. Also, the font-size in grid cells grows 1px when I enter editing.

      Comment


        #4
        We agree that the "grid" mode of SelectItem should match the font size used elsewhere, we'll check on that.

        However we consistently use a slightly larger font wherever the user is typing something in vs read-only display. The HCI requirements are different here - the larger font makes it easier to see and place the insertion cursor and various other activities that do not apply to data that you are simply reading.

        Comment


          #5
          Thanks for the clarification.
          Actually the only situation where I'm not sure the effect is nice, it's in a form where I have some items with canEdit:false, and some of them are readOnlyDisplay:"static" (never editable), and others are readOnlyDisplay:"disabled" (sometimes editable), like this:
          Click image for larger version

Name:	423828855_9410841410277472950.jpg
Views:	163
Size:	24.7 KB
ID:	238038

          Comment


            #6
            This if the font-sizes were the same for all items:
            Click image for larger version

Name:	422302984_7475756195590841480.jpg
Views:	167
Size:	25.2 KB
ID:	238040

            Comment


              #7
              Isomorphic is there any progress on the initial reported difference of the fontsizes in the multiselectitems?

              Comment


                #8
                We've made a change to address this issue. Please try the next nightly build, dated May 24.

                Regards
                Isomorphic Software

                Comment


                  #9
                  Thanks, confirming that it's the same font-size with builds after May 24

                  Comment

                  Working...
                  X