How to test GUIs on different systems?

1 回表示 (過去 30 日間)
William Thielicke
William Thielicke 2018 年 11 月 7 日
コメント済み: Walter Roberson 2018 年 11 月 7 日
Hi, I think this is my first question here, and I'll start right away with a silly one. The first impression is most important, right...?
I would love to get some general advice or guidance, that's why my story is a bit longer, sorry: I made a Matlab toolbox (or whatever you want to call it) that became relatively popular. The main part is a pretty complicated GUI that I made years ago with an old Matlab version and GUIDE. From time to time I update the GUI with new features, and this time it seems that GUIDE destroyed my GUI: I tried to change all units to "characters", because Mac users reported layout issues. Now with my latest release everyone might have layout problems + GUIDE is crashing and hanging often. So my favorite solution atm is to recreate the whole GUI without GUIDE. This will take many nights of programming, and I wonder if it will solve my problem. I am looking for a possibility to test my GUI during development on different systems. Or maybe there is a way to simulate different dpi and resolutions and system UIelements? Are there maybe automated services for this, or is there an active user group? Anything that could help? Or any advice on how to make sure that the end result will be better without GUIDE? Thank you! This is the GUI at the moment (with layout issues, made with GUIDE):
  4 件のコメント
Walter Roberson
Walter Roberson 2018 年 11 月 7 日
The setup I created did permit users to choose font size and automatically re-layed out the screen when they did. What I did for that was to attach to each text entity information about the relative font size, so -2 for two sizes smaller than the base up to +2 for two sizes larger than the base (for headers). The routine that did the layout would then findobj for all of the items with the appropriate property, and adjust their font size property relative to the new base font and then recalculate the container size, reposition anything relative, and so on. The layout call also had to be hooked into the figure resize callback so that everything would readjust as the user resized the figure.
Have you ever happened to use a comprehensive document authoring program intended for publishing purposes? One that had to deal with multiple columns per page, and figures, and equations, and intelligently flowing text around boxes? The conceptual operations for a good looking gui are pretty similar.


回答 (0 件)


Help Center および File ExchangeApp Building についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by