App Designer editfield format not respected during entry
显示 更早的评论
When I create EditFields to display numbers in the (custom) format '%.1e', i.e. 10^-6 it is rendered as "1.0e-06" and 10^-10 as "1.0e-10".
However, the behavior is very strange: As soon as one clicks into an EditField to change the value, the display format changes... "1.0e-06" all of a sudden switches to "0.000001", and "1.0e-10" to "1e-10" (i.e. it swallows the decimal). Once the new values are entered, they are again displayed in the correct format, but the back-and-forth switching during entry is very confusing for the user.
How can I maintain consistent formatting whether the EditField is clicked or not?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Graphics Object Properties 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!