On 29.09.2012 18:12, BADI-Hamid wrote:
Hello,
I'd like to cutomize the toolbars by adding some new shortcut items.
Documentation is still confused about the name of the icon. For example :
1 - I want to add three items that align the text on left, center and right, i
put this code
Item "Left" "paragraph-params-apply \align left"
Item "Center" "paragraph-params-apply \align center"
Item "Right" "paragraph-params-apply \align right"
but i can't understand how to fix an icon for each item, normally icon
must be named as action_parameter.png, do i name
paragraph-params-apply_align_left.png ?
The pictures need to have the same name as the actions, modulo some
character changes (e.g. " " -> "_"). From my experiments, naming them
paragraph-params-apply_backslashalign_left.png
paragraph-params-apply_backslashalign_center.png
paragraph-params-apply_backslashalign_right.png
works fine. You need to put the corresponding PNG in your LyX directory,
"images" subfolder.
Best regards,
Olivier.