Effacer les filtres
Effacer les filtres

In App Designer, a space after each word in TextArea creates a new line after running the gui

20 vues (au cours des 30 derniers jours)
Thuan Nguyen
Thuan Nguyen le 18 Août 2023
Modifié(e) : vikash le 2 Août 2024 à 12:52
When running the .mlapp code for any given TextArea, there is a new line created after each space. Even in the Label portion. I can see the issue in the gray area (the none editable portion) of the Code View. The work-around is to remove the text in the property browser and add it under a StartUp function.
  1 commentaire
Ingo Hermann
Ingo Hermann le 10 Avr 2024
I have exactly the same problem for my existing apps. Can I automatically change this back for all labels ?

Connectez-vous pour commenter.

Réponses (1)

vikash
vikash le 2 Août 2024 à 12:51
Modifié(e) : vikash le 2 Août 2024 à 12:52
Hi Thuan,
I see that on entering text in the value or title field of the Text Area component in App Designer’, there is a newline created for every space entered.
I tried replicating the same in R2023a but could not find the behaviour being repeated. Attaching a screenshot for the MATLAB App and code view.
I suggest you update MATLAB to the latest version or share the exact reproduction steps.

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by