Kaydet (Commit) 4c6e1188 authored tarafından Kshitij Pathania's avatar Kshitij Pathania Kaydeden (comit) Szymon Kłos

resizing of optionalbox now follows priority order strictly

earlier box were not following the assigned priorities thus
causing the reordering issue

Change-Id: I8631312946322164a358d70fd9c47aa6ddfb95e2
Reviewed-on: https://gerrit.libreoffice.org/55644Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarSzymon Kłos <szymon.klos@collabora.com>
üst 712351ff
......@@ -42,7 +42,8 @@ void NotebookbarPopup::PopupModeEnd()
vcl::Window* pWindow = m_pBox->GetChild(0);
pWindow->SetParent(m_pParent);
if (m_pParent)
// resize after all children of box are empty
if (m_pParent && !m_pBox->GetChildCount())
m_pParent->Resize();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment