Announcement

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

    Vertical alignment with BooleanItem

    Hi Isomorphic,

    is it possible that SelectItem and BooleanItem be vertically aligned with this code:

    Code:
    isc.DynamicForm.create({
        ID:"test",
        width:500,
        colWidths: ["*", "*"],
        items:[
            {name:"selectItem",  editorType:"SelectItem"},
            {name:"booleanItem", editorType:"BooleanItem"},
        ]
    });
    Click image for larger version

Name:	vertical_alignment.PNG
Views:	126
Size:	5.9 KB
ID:	254586

    Best regards
    Pavo

    #2
    Vertically aligned in what sense? What specifically do you perceive as misaligned and relative to what other element?

    There can be subpixel imperfections in alignment depending upon your screen resolution, browser, OS and zoom level. If there’s a noticeable level of misalignment please be specific about all of the above as well as version of SmartGWT.

    Comment


      #3
      Hi Isomorphic,

      Sorry, I meant on horizontal alignment.
      What I want is to move "CheckBox" to the left so that it starts from the same point as SelectItem.
      (using 12.0p or 11.1p).

      Best regards
      Pavo

      Comment


        #4
        You can add valueIconLeftPadding: 0 to your BooleanItem

        Comment


          #5
          Exactly what I need, thank you! Just in my test case valueIconLeftPadding: -2

          Comment

          Working...
          X