Closed arongergely closed 5 years ago
Not sure if this is a good plan. But you can add default strings for layout items in the layout config file: https://github.com/rodekruis/sims_maps_qgis_plugin/blob/7fc2cba097551de6fc01da5e59582ca8350488ab/sims_maps/layout_config.py#L2
This PR sets the layout title to the layout name, not leaving it empty: https://github.com/rodekruis/sims_maps_qgis_plugin/pull/24
I'm not in favour of setting dummy values to the other text boxes, because they would appear in the exported maps. And if you don't want them, you would need to manually empty them
Thanks, #24 fixes the issue. You are right about the dummy texts being a bad idea, it can pollute the map layouts when a user would forget to edit them.
Newly generated layouts have empty title boxes (RC_title). Maybe add a "Title" field in the Create Layout window? Also, empty text boxes could default to a dummy string (item name or Lorem Impsum, etc) so new users can still see they are there.