Check documentation for the latest version of dhtmlxSuite setFontSize DHTMLX Docs

setFontSize

sets the font size for the whole form

void setFontSize(string size);
sizestringthe font size you want to set to the form (see available values below)

Example

myForm.setFontSize("15px");

Details

Available values:

  • "xx-smal" - xx-small size
  • "x-small" - extra small size
  • "small" - small size
  • "medium" - medium size
  • "large" - large size
  • "x-large" - extra large size
  • "xx-large" - xx-large size
  • "smaller" - the size smaller than the parent element's
  • "larger" - the size larger than the parent element's
  • length - a fixed size in px, cm, etc.
  • % - percent of the parent element's font size
  • "inherit" - the font size inherited from the parent element
Back to top