Don't force valign center to custom_title widgets added to the headerbar
Steps to reproduce
- Create a custom widget which has valign fill set via code or gtkbuilder ui file
- Add it as custom title to a headerbar via glade ui file
- Run the application and have the widget displayed with valign center instead of valign fill
Current behavior
Currently any widget gets it valign property set to center when added as custom title to a headerbar.
It is possible to force it back to valign fill after it has been added to the headerbar but this means extra code is needed instead of being able to define it just via gtkbuilder ui files.
line that forces valign to custom title
Expected outcome
I expect my custom widget to keep it's valign property set trough the gtkbuilder ui file.
Version information
Gtk 3.22 & 3.93