How to make GUI look similar on different computer's screen?
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I am using Matlab 2009b, I have programmed an GUI app on the computer A (window 10, monitor resolution 1920x1080). When I run my app on the other computer (window 7, monitor resolution 1366x768), some UI table is resized, the text label is cut off.
After looking on the internet suggestion, I have try to change the unit within guide to both 'normalized' or 'character', but there is no improvement.
My question is that is there any method/calculation to make my app shows good on different computers? and I do not have to modify the size of each UI elements in my guide app just for satisfying the new computer? Because when I change the size of these components, firstly these UI elements can not be seen well on my programmed computer A, secondly it costs me time and if there are other computers with different monitor, then I have to manually modify each elements?
3 commentaires
Réponse acceptée
Image Analyst
le 13 Oct 2019
The best way I've found is to set all the units to normalized, and then have your end user use as close a pixel dimensions as you as possible. Also make sure they use the same magnification (text size) as you. For example if you're using 100% make sure they use 100%, not 125%. That's about as good as you can get but even then it may not be perfect.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Debugging and Analysis dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!