Hi, what version of MITK are you using? Please also share a complete code 
example including the call to SetFixed().

Best,
Stefan

From: shaowen li [mailto:armdlishao...@gmail.com]
Sent: Donnerstag, 26. April 2018 03:03
To: mitk-users@lists.sourceforge.net
Subject: [mitk-users] Fixed perspective layout is not really fixed

Hi,
I have the same problem with the question raised by this link, 
https://phabricator.mitk.org/T4257.
And I have called IPageLayout::SetFixed(true)  before adding any views to the 
layout like this:
void 
PatientManagementPerspective::CreateInitialLayout(berry::IPageLayout::Pointer 
layout)
{
  QString editorArea = layout->GetEditorArea();
  layout->SetEditorAreaVisible(true);
  layout->AddStandaloneView("org.mitk.views.datamanager", false, 
berry::IPageLayout::LEFT, 0.234f, editorArea);
  layout->AddStandaloneView("org.armd.views.patientmanagement", false, 
berry::IPageLayout::TOP, 0.7f, "org.mitk.views.datamanager");
}
But it doesn't work. Please give me some advice, thanks!
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to