How can I fit a large sized GUI on a small screen, without forcibly squeezing in the objects but giving an option to scroll ?

6 vues (au cours des 30 derniers jours)
I have made a GUI on a Desktop PC. If I run the same on a laptop, part of the GUI is cropped out. I tried to fit in the GUI using some solutions provided for similar queries online, but it was trying to squeeze the objects and fit into the screen. I don't want that to happen, as I strictly have to maintain the structure irrespective of screen size. I think it will be solved if there is any option by which a scroll bar will be created when I run, using which I can scroll up or down to access the cropped out objects ?
Can someone please help me out ? Thank you very much!

Réponses (1)

Geoff Hayes
Geoff Hayes le 23 Juin 2015
Eshwar - have you looked at these GUIDE options with respect to the resize behaviour (and in particular the proportional option)?
  1 commentaire
Eshwar Gowda
Eshwar Gowda le 23 Juin 2015
Yeah, I tried using the 'proportional' option (listed under GUI Options). It seems to re-position and re-size the objects to fit the screen size. But that makes some objects get overlapped with others, also position of the objects are affected.
I will look into the other option. Thank you very much for the response :)
BTW I still want to find out whether there is an option which creates a slider (scroll bar) using which I can move the GUI up/down when it is running. Is there any constraint for MATLAB to not give that option ?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by