How to edit the Theme to add a customized "Large" (24×24 px) icon to a command?
Dear Community,
I'm using Libreoffice Draw: in Tango Theme, I'd like to assign an icon to the command Format>Text..., which seems not to have a proper one. This would be quite simple through the Tools>Customize...>Toolbar functions, with Modifiy>Change icon... for the selected command, but only 16×16 px icons are allowed, and if you opt for "Large" as Toolbar icon size, no icon at all is viewed for this button.
I understood that when default icons tolerate both Large and Small as dimensions, is because they exist both in 16×16 and 24×24 versions, named sc_xxx.png (small, 16×16 px) and lc_xxx.png (large, 24×24 px). These icons are generally stored within the cmd folder of the Theme.zip archive.
So, I'm trying to directly modify the Tango Theme, adding my 16×16 and 24×24 icons and assinging them to the "Format>Text..." comand. After adding my icons, I think I should edit link.txt in the main Theme folder, and some other theme file to assing the icons to the command.
How to do?
I think, that direct adding is not possible, but you would need to compile LibreOffice. What you can do is, to give an icon to the command via Customize>Modify>Change icon. The icon added for the toolbar will be used in the menu as well. If you try that and fail, please reword your question.
I had already tried with Modify>Change icon... but, as I stated, this works only if the dimension chosen for icons in general (LibreOffice general Options window) is "Small". This is because the cutom icon imported is automatically resized to 16×16 px.
If I choose "Large" or "Automatic" for the dimension, the icons shown in the toolbar are 24×24 px, and so my one, unsuitable, disappears, replaced by the decription of the command (its label).
I refined the title of my question.