Resize Toggle Button

Resize Toggle Button

Comments

  • The attached CSS file allows you to resize the toggle button on a form. Tested in 5.x.

    If you apply this CSS to a form, the toggle button will be 130px width by default. To change this value, you can edit the following section of the CSS file:

    .dp-togglebutton-sub-container {
    width: 130px;
    }

    Additionally, theres a class included that you can apply to the toggle button directly to resize it to the full width of its grid cell called togglebutton-fullwidth. Example:

    .togglebutton-fullwidth .dp-togglebutton-sub-container {
    width: 100%;
    }

    [i]-[/i]
    [i]edited by althea@decisions.com on 3/27/2019[/i]

Sign In or Register to comment.