Page MenuHomePhabricator

After first start: MBI Logo ugly and plugin window too big
Closed, WontfixPublic

Description

Install
Start for first time
Open Segmentation Plugin.

On a normal screen resolution (1600x1200), segmentation window is just too big (covers nearly half of the screen, renderwindows are pretty small). Also the MBI Logo is cut off on both ends.

Event Timeline

The size of the initial view is determined by the settings in the perspective. This is not segmentation specific.

In fact changing this in an perspective would not be a problem, but unfortunatly the mentioned behaviour concerns views not included in the perspective.

These do not have a assumed position and size and will get the default one, which is specified in the berryPartSashContainer.cpp within the AddPart(LayoutPart::Pointer child) function.

Default is half the size of the original part.

Discussion with Sascha suggested three possible way to deal with this.

  1. Keep it as it is (after al it is only a minor cosmetic thing)
  2. Define placeholders for every single view in the mitkWorkbench default perspective
  3. Implement a berry:ISizeProvider in every single view and return a corresponding "preffered width"

Considering how minor this problem is and that it only concerns views which are not in a perspective and even those only for the first time I will close this bug.

kislinsk added a project: Bulk Edit.
kislinsk removed a project: Bulk Edit.