MATLAB: Removing the outline or border around the Edit Text box in the GUI

colorsedit textgui

I'm preparing a GUI, and for purposes of aesthetics, I want to remove the gray border around the edit text box, or change its color to match the background. I'm not sure how to do this – is it possible?

Best Answer

This cannot be done through matlab's documented uicontrol properties, but you can achieve it by working with the underlying java. See here: http://undocumentedmatlab.com/blog/customizing-uicontrol-border/