If the button fires an UNO command, you should
A) create an icon in an icon theme pack/folder. It should be named
lc_unocommandname.png for large icons and sc_unocommandname.png for small
ones.
B) or, if you want to reuse an existant icon, you can make a link to it:
add its name to a text file called links.txt in theme directory. Example
line:
cmd/lc_newunocommandname.png cmd/lc_existanticon.png
Sorry if I was not clear. Answering by mobile.
Regards,
Rodolfo.
Em 05/12/2013 06:30, "Samuel Mehrbrodt" <s.mehrbrodt@gmail.com> escreveu:
Hi,
I'm trying to add the Navigation buttons that were below the scrollbar in
Writer to the Search bar, as discussed on UX-Advise.
Now I have the "Next" and "Previous" buttons working, but have two
questions:
- How can I display an Image instead of text in the toolbar?
- I have a new Uno Command for showing the Navigation window (
uno:NavigationPopup) and I catch it in sw/source/ui/uiview/view2.cxx. Now
I need to implement something like [1] (new SwScrollNaviPopup ...).
Where should I implement this? It doesn't seem right to me to do it
directly in view2.cxx.
Thanks
Samuel
[1]
http://cgit.freedesktop.org/libreoffice/core/diff/sw/source/ui/ribbar/workctrl.cxx?id=3e8fe4d8e19be2ccd8f5bb898530e2f615a90321
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.