Textbox has no background color in Matlab 2014b (and higher)
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
I just updated a plot to run on Matlabs new graphics engine but I can not manage to change background color of a textbox. It stays transparent all the time.
In MATLAB 2014a it worked finde to call e.g.
set (hVertStopMarkers(k),'BackgroundColor','green')
but in MATLAB 2015a the exat same command does not change anything. The background stays transparent. Im able to switch other things like fontsize using
set (hVertStartMarkers(k),'FontSize',10)
How can I access and change background color now?
Thanks!
2 Kommentare
Phillip
am 6 Mai 2015
Hi
What happens is you execute the following code?
figure;
h = uicontrol('Style','edit');
set(h,'BackgroundColor','green');
Does that work?
Antworten (0)
Siehe auch
Kategorien
Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!