widget: Add pref to control rewrapping on resize

https://bugzilla.gnome.org/show_bug.cgi?id=336238