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 visualización (últimos 30 días)
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.

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 27 de Jun. de 2009
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.

Más respuestas (0)

Categorías

Más información sobre Programming Utilities en Help Center y File Exchange.

Productos


Versión

R14SP1

Community Treasure Hunt

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

Start Hunting!

Translated by