Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-02

editor toolbar's buttons glyph

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

William Oliveira Ferreira

i've installed the editortoolbar0.4 and configured it but i wanna change the toolbar's buttons glyph to what they mean. How can i do? my toolbar looks like this:
http://imagebin.org/201188
and on it i have a cut/copy/paste button, toggle comment on selection, etc...
________________________________
William de Oliveira Ferreira
Bacharel em Sistemas de Informa??o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120228/42444bc5/attachment.html>

Reply by email

Graeme Geldenhuys
to William Oliveira Ferreira

2012/2/28 William Oliveira Ferreira :

Show quoted text 5 lines
i've installed the editortoolbar0.4 and configured it but i wanna change the toolbar's buttons glyph to what they mean. How can i do? my toolbar looks like this: http://imagebin.org/201188 and on it i have a cut/copy/paste button, toggle comment on selection,

The editor toolbar will normally use the same glyph as was used in the main menu (main window of Lazarus). Those glyphs you see, should only be shown in the case where the menu item didn't have a glyph.

Can you attach the editor toolbar XML settings file (it should be in your ~/.lazarus directory - if you use *nix systems).

Regards, ? - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net

Reply by email

William Oliveira Ferreira
to Graeme Geldenhuys

2012/2/28 Graeme Geldenhuys

Show quoted text 32 lines
2012/2/28 William Oliveira Ferreira : > i've installed the editortoolbar0.4 and configured it but i wanna change the > toolbar's buttons glyph to what they mean. How can i do? > my toolbar looks like this: > http://imagebin.org/201188 > and on it i have a cut/copy/paste button, toggle comment on selection, The editor toolbar will normally use the same glyph as was used in the main menu (main window of Lazarus). Those glyphs you see, should only be shown in the case where the menu item didn't have a glyph. Can you attach the editor toolbar XML settings file (it should be in your ~/.lazarus directory - if you use *nix systems). -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Sure, here it is...

________________________________ William de Oliveira Ferreira Bacharel em Sistemas de Informa??o -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120229/821151bd/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: editortoolbar.xml Type: text/xml Size: 864 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120229/821151bd/attachment-0001.xml>

Reply by email

Graeme Geldenhuys
to William Oliveira Ferreira
William Oliveira Ferreira wrote
Sure, here it is...

OK, as I suspected... most of your toolbar actions you chose are not from the IDEMainMenu, but rather from other popup menus like the SourceEditor. Such popup menus (like in the case of the Source Editor), don't have glyphs assigned to them - thus the toolbar gives the default thunderbolt glyph. The most reliable location (with glyphs) is the IDEMainMenu tree hierarchy - but then again, not all menu items have glyphs associated with them.

Attached is a semi-fixed version, where I replaced the Cut/Copy/Paste actions, to rather use the IDEMainMenu entries. They now display the correct glyphs.

If you don't understand what I mean, please do a comparison between the attached XML file, and the one you currently have.

Regards, ? - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -------------- next part -------------- A non-text attachment was scrubbed... Name: editortoolbar.xml Type: text/xml Size: 918 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120229/9e73c2bc/attachment.xml>

Reply by email