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 ビュー (過去 30 日間)
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!

回答 (1 件)

Geoff Hayes
Geoff Hayes 2015 年 6 月 23 日
Eshwar - have you looked at these GUIDE options with respect to the resize behaviour (and in particular the proportional option)?
  1 件のコメント
Eshwar Gowda
Eshwar Gowda 2015 年 6 月 23 日
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 ?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by