We have updated Flexmonster Software License Agreement, effective as of September 30, 2024. Learn more about what’s changed.

How to create Image for new buttons on Toolbar

Resolved
Sohan asked on March 24, 2017

This is regarding adding image for a newly added button on Toolbar.
 
We have to add few more buttons on the toolbar like Expand, Collapse. I have done that part by referring https://www.flexmonster.com/doc/customizing-toolbar/. Now I would like add images for every button that I add.
So do we have to create our own images (and if yes do you recommend any standard ?) or flex has any tool to create those ?

2 answers

Public
Cleyton Barroso March 24, 2017

I also had this problem, I needed to create a button with the same image as an existing one in an option. I needed to create another CSS class for it and then I reported it to my new button
 

 tabs.unshift({
id: "fm-tab-reload",
title: "@Translation.Reload",
handler: "reloadCube"
});


//css class
#fm-toolbar-wrapper #fm-tab-reload > a {
background-image: url(/Content/img/flexmonster-customize/menu_database-icon_large.png);
}

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster March 24, 2017

Hello Sohan,
Thank you for your question. For now, we don't have any tools for creating the images. However, you can feel free to create your own toolbar images.
Please let us know if you have any questions left here.
Best regards,
Dmytro.

Please login or Register to Submit Answer