Thread Subject: GUI - Visual Appearance Problem (Look and feel)

Subject: GUI - Visual Appearance Problem (Look and feel)

From: Patrick R

Date: 10 Jun, 2009 17:19:01

Message: 1 of 2

i made a GUI with GUIDE and it looks all nice and smooth on my windows xp. for the settings dialogue I added a script, which opens a new figure, defines buttons and axes and stuff like that, but it appears in "old windows 98 style".

has anyone an idea, what (figure)property could cause this behavior? or what else I can do, to make this figure look like the other one - in the "normal" system style/scheme/visual appearance.

2 hours of intensive matlab-central/google research and trial and error coding got me nowhere :(

tia, patrick

Subject: GUI - Visual Appearance Problem (Look and feel)

From: Patrick R

Date: 10 Jun, 2009 18:30:06

Message: 2 of 2

"Patrick R" <p.reichmann@inode.at> wrote in message <h0opu5$8ql$1@fred.mathworks.com>...
> i made a GUI with GUIDE and it looks all nice and smooth on my windows xp. for the settings dialogue I added a script, which opens a new figure, defines buttons and axes and stuff like that, but it appears in "old windows 98 style".
>
> has anyone an idea, what (figure)property could cause this behavior? or what else I can do, to make this figure look like the other one - in the "normal" system style/scheme/visual appearance.
>
> 2 hours of intensive matlab-central/google research and trial and error coding got me nowhere :(
>
> tia, patrick


after long testing and deleting one figure property after the other I found out, that the problem was setting a backgroundcolor for buttons. as soon as you do so, the "look and feel" changes to oldschool windows :)

hth anyone who is looking for this behavior, since it's documented nowhere

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com