Remove borders around a push button in GUI

21 views (last 30 days)
James Boyle
James Boyle on 19 Jul 2017
Answered: Walter Roberson on 19 Jul 2017
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.

Answers (1)

Walter Roberson
Walter Roberson on 19 Jul 2017
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.)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!