In MEOW mode size of toolpanel has to depend on size of MEOW window instead on size of main rt window

This commit is contained in:
heckflosse
2017-07-07 21:00:31 +02:00
parent c30683f5f6
commit aecfaa2631
4 changed files with 14 additions and 3 deletions

View File

@@ -124,6 +124,7 @@ void EditWindow::on_mainNB_switch_page(Gtk::Widget* widget, guint page_num)
void EditWindow::addEditorPanel (EditorPanel* ep, const std::string &name)
{
ep->setParent (parent);
ep->setParentWindow(this);
// construct closeable tab for the image
Gtk::HBox* hb = Gtk::manage (new Gtk::HBox ());