On 29 February 2012 16:07, 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
<?xml version="1.0"?> <CONFIG Count="14"> <Button01 Value="IDEMainMenu/Edit/itmEditClipboard/itmEditCut"/> <Button02 Value="IDEMainMenu/Edit/itmEditClipboard/itmEditCopy"/> <Button03 Value="IDEMainMenu/Edit/itmEditClipboard/itmEditPaste"/> <Button04 Value="---------------"/> <Button05 Value="SourceEditor/Clipboard/Copy filename"/> <Button06 Value="---------------"/> <Button07 Value="SourceEditor/First static section/InsertToDo"/> <Button08 Value="IDEMainMenu/Source/itmSourceBlockActions/itmSourceToggleComment"/> <Button09 Value="---------------"/> <Button10 Value="SourceEditor/First static section/Find section/FindIdentifierReferences"/> <Button11 Value="SourceEditor/First static section/Find Declaration"/> <Button12 Value="---------------"/> <Button13 Value="SourceEditor/Pages/Close Page"/> <Button14 Value="SourceEditor/Pages/Close All Other Pages"/> </CONFIG>
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
