I load my toolbar using loadxmlstring. My toolbar items are button type. I want to increase the width of buttons. As per api, setwidth is not for button. I tried adding extra space in the text 'Save ’ this doesn’t affect. 'Save ’ this gave me error.
Is there a way to do that
You can ry the next approach:
toolbar.loadXML("toolbar.xml", function(){ obj = toolbar.objPull[toolbar.idPrefix+"save_as"].obj; obj.style.width = "200px"; });
Thanks Darya!! That worked. Would be better if api provides this.
You are welcome You can sugget it here: viewforum.php?f=10 But it is quite custom requirment…