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

5 views (last 30 days)
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!

Answers (1)

Geoff Hayes
Geoff Hayes on 23 Jun 2015
Eshwar - have you looked at these GUIDE options with respect to the resize behaviour (and in particular the proportional option)?
  1 Comment
Eshwar Gowda
Eshwar Gowda on 23 Jun 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 ?

Sign in to comment.

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!