The label and display for a read only display plug-in are not aligned

The label and display for a read only display plug-in are not aligned

mike92117mike92117 Posts: 38Questions: 11Answers: 1

How can I make the NTU value and label align? I'm using the "read only display" plug-in described in the docs. See screenshot.

dataType: 'json', fields: [{ label: "Name", name: "Name" }, { label: "NTU", name: "NTU", type: "display" }, { label: "DPic", name: "DPic" }, {

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 60,300Questions: 1Answers: 9,790 Site admin
    Answer ✓

    It looks like some CSS such as:

    div.DTE_Field_Type_display div.DTE_Field_InputControl > div {
      padding-top: 3px;
    }
    

    is needed there. Here is a little example.

    Allan

  • mike92117mike92117 Posts: 38Questions: 11Answers: 1

    Thanks Allan.

Sign In or Register to comment.