Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to assign an icon to a command? (Customizing the Theme)

Dear Community,

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?

How to assign an icon to a command? (Customizing the Theme)

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?

How to assign an icon to a command? (Customizing the Theme)

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?