gui: #1140 Add image size template selector to resize canvas dialog

Adds option for selecting predefined page sizes using the same
template selector as on "New Image" dialog.

Syncs up size and offset unit selectors to have the same value
when changing template and when resetting whole dialog.
parent 5781ee75
Pipeline #251942 passed with stages
in 59 minutes and 53 seconds