Change Color Scheme for App Designer Editor
113 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Christopher Walsh
el 23 de Sept. de 2019
Comentada: IanH
el 2 de Abr. de 2022
I prefer to edit code with a high-contrast color scheme since looking at a white screen for a long time makes my retinas burn. It is easy enough to change the coloring preferences for MATLAB through Home\Preferences\Colors. However, the editing enviroment for App Designer seems to be somewhat independant from theses settings. While the text color changes appropriately, the background color seems to be locked as white. There also doesn't seem to be any preferences specific to App Designer either. Having Windows set to a high-contrast theme doesn't do the trick either.
Is there a way to adjust the background color for the App Designer editing enviroment (Code View), or am I just stuck with white?
5 comentarios
Respuesta aceptada
Scott
el 23 de Mzo. de 2021
Install 2021a.
In general, I'd say they solved 99% of what I was looking for in this issue. App Designer now uses the color scheme I have set in the editor for code that is not auto generated by App Designer. I suppose the only issue I now have is I need to highlight the auto generated code to read it:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/559493/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/559498/image.jpeg)
All things considered, this is a MAJOR improvement!
4 comentarios
Ashley Trowell
el 27 de Ag. de 2021
This is what I needed to make schemer and app designer happy.
I was looking to see how to make this read-only background color change programatically, but I'm
not seeing the correct setting under
s = settings; s.matlab.colors
Which is a bummer, but since I don't change schemes very often it'll be fine for me.
IanH
el 2 de Abr. de 2022
The 'Read-only background' color can be changed in Preferences, at least as of R2021a.
Preferences > MATLAB > App Designer
See MATLAB documentation "Manage Code in App Designer Code View" subsection "Personalize Code View Appearance" for more details.
Más respuestas (1)
Christopher Walsh
el 24 de Sept. de 2019
6 comentarios
IanH
el 2 de Abr. de 2022
The 'Read-only background' color can be changed in Preferences, at least as of R2021a.
Preferences > MATLAB > App Designer
See MATLAB documentation "Manage Code in App Designer Code View" subsection "Personalize Code View Appearance" for more details.
Ver también
Categorías
Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!