Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by zoomsthru on Aug 24, 2009 12:52
open dhtmlx forum
Formatting items in a toolbar

I would like to introduce some spaces between consecutive items in a toolbar which I load from an XML string. i.e. I would like a format like this:
<button1> <button2> <Text> <Text>

I tried to introduce a blank text item and assigned different values to its width attribute, but this does not seem to help. The toolbar just ends up looking thus:
<button1> <button2> <Text> <Text>

Is there a way to achieve this formatting?

Thanks in advance.
Answer posted by Alex (support) on Aug 25, 2009 03:34

The only way to set space between buttons is using blank "text" buttons:

http://dhtmlx.com/docs/products/dhtmlxToolbar/samples/text/creation.html?un=1251197056000