VST3: Fix initial GUI display and window-size

This commit is contained in:
Robin Gareus 2020-09-23 18:14:57 +02:00
parent b8028f1239
commit b7c9917467
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
3 changed files with 5 additions and 2 deletions

View file

@ -282,7 +282,8 @@ VST3X11PluginUI::on_window_show (const std::string& /*title*/)
return false;
}
gtk_widget_realize (GTK_WIDGET(_gui_widget.gobj()));
_gui_widget.show ();
_gui_widget.show_all ();
_gui_widget.queue_resize ();
return true;
}