Why does resizing my image change the positions of the scrollbars created by the IMSCROLLPANEL function in the Image Processing Toolbox 5.0 (R14SP1) on Linux machines?

조회 수: 1 (최근 30일)
When using MATLAB on a Linux machine, I use the following code to create a scrollable image:
h=imshow('boston.tif')
hp = imscrollpanel(gcf,h)
When I resize the image, I notice the positions of the scrollbars change.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2009년 6월 27일
There is a bug in the Image Processing Toolbox 5.0 (R14SP1) on Linux machines in the way scrollbars created with the IMSCROLLPANEL are handled incorrectly when figure windows are resized.
If you are using KDE, you can work around this problem by clearing the "Display Content in Resizing Windows" checkbox in the KDE Control Center. To do this follow these steps:
1. In KDE, open a terminal window and execute the command "kcontrol".
2. When the KDE Control Center window appears, click the "+" symbol next to the Desktop menu item to expand it.
3. Click the "Window behavior" menu item.
4. Under the "Moving" tab, clear the "Display content in resizing windows" check box.
5. Click "Apply" to apply changes.
6. Close the KDE Control Center.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming Utilities에 대해 자세히 알아보기

제품


릴리스

R14SP1

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by