Can I ask how to change the border color of NumericEditField in MATLAB App designer
53 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Weiqiao Han
am 11 Aug. 2021
Kommentiert: Weiqiao Han
am 19 Aug. 2021
Hi,
I'm currently working with MATLAB App Designer and I want to change the border color of the NumericEditField from light gray to dark gray which is the background color to hide the border as shown in this picture:
Can I ask is there any method that I can change the border color or hide the border to non-visiable? I can't find any information about it in the help documentation. Thanks so much.
Regards,
Han
0 Kommentare
Akzeptierte Antwort
Pavan Guntha
am 17 Aug. 2021
Hello Han,
The NumericEditField doesn't have any property for editing the border color. A possible workaround would be to encapsulate the EditField component within a UIPanel and alter the size and background color of the UIPanel such that it looks like the border of EditField. You could have a look at the attached mlapp which generates an EditField which looks as follows:
Hope this helps!
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!