Remove borders around a push button in GUI

19 次查看(过去 30 天)
As from the image, I would like to remove the white/grey border that exists around a uibutton in a matlab GUI.
I have tried to use findjobj to get the underlying java code (as has been suggested elsewhere), however this command does not seem to work. I'm using R2016a and windows.
If there is any other way of removing this border in the underlying code, or any other way at all, I'd appreciate any advice!
Mank thanks.

回答(1 个)

Walter Roberson
Walter Roberson 2017-7-19
If I recall correctly, http://undocumentedmatlab.com has a note to the effect that if you use a radio button and change its CData then you will not have a 3D effect. (Possibly that would extend to changing the CData on a pushbutton, I am not sure at the moment.)

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by