I have created a simple GUI with an edit box:
function mygui% Create and then hide the GUI as it is being constructed.
f = figure('Visible','off','Position',[360,500,450,285]);box = uicontrol('Style','edit',... 'String','Edit Text',... 'Units','normalized',... 'Position',[0.2 0.7 0.2 0.2],... 'BackgroundColor',[1 1 1 ]);set(f,'Name','My GUI')% Make the GUI visible.
set(f,'Visible','on');end
When I run this GUI, the edit box border looks blue and the overall appearance of the Edit box is not 3D.
Best Answer