Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More

Customize the toolbar

This topic guide explains how to customize the toolbar.

How to change the symbol of a standard action

A customer asked us to display the word “Save” instead of the default floppy disk symbol (save button) in the toolbar when editing a detail window. We do this by overriding the do_site_startup method in their local settings.py file:

class Site(Site):

    def do_site_startup(self):
        from lino.core import actions
        actions.SubmitDetail.icon_name = None
        super().do_site_startup()