Fix #505
Small fix to get our changes after InitializeComponent();
Merge remote-tracking branch 'nlight/505_dialog_size' into release-v1.2

* nlight/505_dialog_size:
  Small fix to get our changes after InitializeComponent();
  Fix #505