"Instant help when mouse on buttons" and "Automatic stretch of figures/panels"

1 回表示 (過去 30 日間)
anto
anto 2013 年 11 月 12 日
回答済み: anto 2013 年 11 月 13 日
Hi Matlab community!
1 - I'd like to know if there is a method to display (on a gui) instant help like a flag with some instructions relative to specific buttons or graphs or other objects. I have a commercial software here written in Matlab that uses this feature.
2 - Another question is: it's possible to automatically (something "relative" not "absolute") stretch the panels, text and graphs? Because I read that is not possible to put inside a gui scroll bars (better solutions would be for me). Because I have a GUI now and I need to run on different size monitors.
Thanks a lot!

採用された回答

Walter Roberson
Walter Roberson 2013 年 11 月 12 日
1) You can set the Tooltipstring property of the uicontrol; see http://www.mathworks.com/help/matlab/ref/uicontrol_props.html#bqxoiq8
2) by default the units for sizes for figures and panels and axes is "normalized units" -- fraction of the containing object. Define your objects in terms of the fraction of the screen they should take and they will automatically adjust as you change resolutions.

その他の回答 (1 件)

anto
anto 2013 年 11 月 13 日
Wow great answer! A statue for you Walter!

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by