Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-2020

Checkbox in a custom search form

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1
    • None
    • UI
    • None
    • FF 3.5

      see the screenshot

          [CMS-2020] Checkbox in a custom search form

          The form item label will be displayed on two lines if too large.

          You can also override the _getLabelWidth() and/or the _getItemHeight() function of the SearchTool to ajust the form according to yours elements :

          org.ametys.cms.tool.search.SearchTool.prototype._getLabelWidth = function ()
          {
          	return 180;
          }
          
          org.ametys.cms.tool.search.SearchTool.prototype._getItemHeight = function ()
          {
          	return 28;
          }
          

          Laurence Aumeunier added a comment - The form item label will be displayed on two lines if too large. You can also override the _getLabelWidth() and/or the _getItemHeight() function of the SearchTool to ajust the form according to yours elements : org.ametys.cms.tool.search.SearchTool.prototype._getLabelWidth = function () { return 180; } org.ametys.cms.tool.search.SearchTool.prototype._getItemHeight = function () { return 28; }

            laurence Laurence Aumeunier
            delphine Delphine Gavalda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: