Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Kamran Bayegan on May 29, 2009 12:45
open dhtmlx forum
Logo in Toolbar

Is it possible to display a logo image in the toolbar. How would I do it?
Answer posted by Support on Jun 01, 2009 06:00
You can add "label" button, and set it content as "<img src='logo.png' />" - as result you will have a toolbar with a logo image
Answer posted by Dries on Nov 22, 2009 14:22
What do you mean with "label"? There is only the addText() button, but with that button, your proposal does not work.
Answer posted by Alex (support) on Nov 23, 2009 03:16

You can use addButton method to add buttom with necessary icon:

http://dhtmlx.com/docs/products/dhtmlxToolbar/samples/03_button/01_creation.html

Answer posted by Dries on Nov 24, 2009 12:23

Hi Alex,

That's true, but then your logo will be 18px - 18px. That's the standard width-height for the icons. You can not add a free image, like you can add free text. 

Answer posted by Alex (support) on Nov 25, 2009 02:33

Hello,

toolbar supports only 18x18 images. To use other images it is necessary to modify some css styles.

What images do you want to use ? We have attached the sample for 24px icons

Attachments (1)