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
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