DHTMLX Docs & Samples Explorer

setIconSize(size)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxtoolbar.js

sets the size of icons in the toolbar (applied to all items at once).

  • size - the icons size in pixels. Possible values: 18, 24, 32, 48. 18 pixels is the default size.
toolbar.setIconSize(48);