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 visualizzazione (ultimi 30 giorni)
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.

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 27 Giu 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.

Più risposte (0)

Categorie

Scopri di più su Programming Utilities in Help Center e File Exchange

Prodotti


Release

R14SP1

Community Treasure Hunt

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

Start Hunting!

Translated by