GUI Changes (even when opened in GUIDE) on PC/Laptop

I have a problem opening GUIs (designed in GUIDE) on seperate windows machines, where it appears differently- and even in the GUIDE.
Below is a trivial example of one of the GUIs not working, but some of them are more complicated and the problem more fatal:
On my PC - I have this:
On my colleague's laptop - he has this;:
(NB The logo is removed for confidentiality)
I know cross-platform guis problems are well documented, and I've been through a lot of ideas:
  • Changing the renderer
  • Making sure all units are set to characters
  • Setting the reize behaviour to either proportional/ Non-resizeable
  • Changing fonts to default
  • Trying on different machines (only doesn't work on the laptop, other desktops are fine)
  • Changing screen resolutions.
But still no luck.

Risposte (2)

Jan
Jan il 2 Ott 2013
I cannot guess, what we exactly see here. Are there two UICONTROLs of type 'text' here, where one contains 'Graphical User Interface' and and one 'mT1', or is this one field containing one string? How did you create the bold characters? Did you use any technique to use their 'Extent' property to define the position of the neighboring elements? If not, why do you assume, that the extent of the characters / substrings has any effects?

1 Commento

Yep sorry it's not that clear, there are 4 relevant (text) uicontrols in this example;
One that says 'mT1 Graphical User Interface' and one for each of the bold characters, G, U & I, which I've overlayed over the top.
As I say this is just one trivial example, where I've tried to make the interface a bit more interesting. More generally, the problem is ui controls moving around relative to each other which in some cases makes the GUI's un-usable.
Not used the Extent property, for most Uicontrols I prefer to position them in GUIDE rather than hard coding positions. Not sure I quite follow your last question I'm afraid..

Accedi per commentare.

Ed
Ed il 3 Ott 2013
For anyone interested; it looks I seem to have found the answer. - Changing all the units to 'pixels' has fixed he compatibility issues as far as I can tell..
Got there using the following advice from Ralph:http://www.mathworks.co.uk/matlabcentral/newsreader/view_thread/329414
Though this does seem to contradict the advice given by Mathworks here
But whatever, works for me now.
Cheers, Ed

Categorie

Scopri di più su Interactive Control and Callbacks in Centro assistenza e File Exchange

Richiesto:

Ed
il 2 Ott 2013

Risposto:

Ed
il 3 Ott 2013

Community Treasure Hunt

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

Start Hunting!

Translated by