Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minitool width is bigger than expected when using a vertical layout. #558

Open
liangaili opened this issue Jun 5, 2024 · 3 comments
Open

Comments

@liangaili
Copy link

Describe the bug. What happened?

Hi,
I am using Weasis 4.4.0 on a vertical screen (1080x1920). To maximize the image area, I dragged the DICOM Explorer to the top of the image area.

However, the size of the Minitool area does not adjust properly when I resize the Weasis window.

Here is an image showing the Weasis window. You can see that the width of the Minitool area is small as expected.
1

If I maximize the Weasis window, the Minitool area also grows larger. (I suppose it should keep being small.)

2

I tried Weasis 4.3.0 on a Macbook, same thing happened.

What version of Weasis are you running?

4.4.0,4.3.0

On which system the problem occurs?

Windows, macOS

Relevant log output

No response

Additional contextual elements

No response

@liangaili
Copy link
Author

I have some new findings, here is how I reproduce them:

A:

  1. open two dicom images
  2. drag dicom explorer, and adjust the interface look like this:
    (manually drag the minitool area wider than normal)
1 4. close one of the opened dicom tabs 5. the width of minitool area will become normal(to minimal width)

B:
If the width growth is triggered by the method in original post, closing one of many dicom tabs also can make width normal

C:
If I open dicom series, make width wider than normal(either manually adjust or maximize window), opening a new 3D viewer will make the width of minitool normal.

D:
If I open dicom series, then open 3D viewer, then adjust width wider than normal(either manually or by maximize), switching from/to 3D viewer will also make the width of minitool normal.

@nroduit
Copy link
Owner

nroduit commented Jun 17, 2024

Moving the explorer or tools up or down is not recommended, as there are several display problems with the docking framework, which does not allow you to manage space redistribution in some cases.

If you need more horizontal space, it's best to use the panel's overlay mode (by minimizing and then clicking in the center of the button) or hide the explorer and use shortcut navigation.

I'm evaluating replacing the docking framework as it's no longer supported.

@liangaili
Copy link
Author

Thank you for the reply, it seems like this is the only way.

Hope the replacement goes well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants